• Home
  • Raw
  • Download

Lines Matching refs:verts

279     void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const {  in fillInCircleVerts()
296 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
297 (*verts)->fColor = color; in fillInCircleVerts()
298 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
299 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
300 (*verts)++; in fillInCircleVerts()
302 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
303 (*verts)->fColor = color; in fillInCircleVerts()
304 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
305 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
306 (*verts)++; in fillInCircleVerts()
308 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
309 (*verts)->fColor = color; in fillInCircleVerts()
310 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
311 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
312 (*verts)++; in fillInCircleVerts()
314 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
315 (*verts)->fColor = color; in fillInCircleVerts()
316 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
317 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
318 (*verts)++; in fillInCircleVerts()
320 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
321 (*verts)->fColor = color; in fillInCircleVerts()
322 (*verts)->fOffset = SkPoint::Make(octOffset, 1); in fillInCircleVerts()
323 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
324 (*verts)++; in fillInCircleVerts()
326 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth); in fillInCircleVerts()
327 (*verts)->fColor = color; in fillInCircleVerts()
328 (*verts)->fOffset = SkPoint::Make(-octOffset, 1); in fillInCircleVerts()
329 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
330 (*verts)++; in fillInCircleVerts()
332 (*verts)->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth); in fillInCircleVerts()
333 (*verts)->fColor = color; in fillInCircleVerts()
334 (*verts)->fOffset = SkPoint::Make(-1, octOffset); in fillInCircleVerts()
335 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
336 (*verts)++; in fillInCircleVerts()
338 (*verts)->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
339 (*verts)->fColor = color; in fillInCircleVerts()
340 (*verts)->fOffset = SkPoint::Make(-1, -octOffset); in fillInCircleVerts()
341 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
342 (*verts)++; in fillInCircleVerts()
352 (*verts)->fPos = center + SkPoint::Make(-s * r, -c * r); in fillInCircleVerts()
353 (*verts)->fColor = color; in fillInCircleVerts()
354 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
355 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
356 (*verts)++; in fillInCircleVerts()
358 (*verts)->fPos = center + SkPoint::Make(s * r, -c * r); in fillInCircleVerts()
359 (*verts)->fColor = color; in fillInCircleVerts()
360 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
361 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
362 (*verts)++; in fillInCircleVerts()
364 (*verts)->fPos = center + SkPoint::Make(c * r, -s * r); in fillInCircleVerts()
365 (*verts)->fColor = color; in fillInCircleVerts()
366 (*verts)->fOffset = SkPoint::Make(c * innerRadius, -s * innerRadius); in fillInCircleVerts()
367 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
368 (*verts)++; in fillInCircleVerts()
370 (*verts)->fPos = center + SkPoint::Make(c * r, s * r); in fillInCircleVerts()
371 (*verts)->fColor = color; in fillInCircleVerts()
372 (*verts)->fOffset = SkPoint::Make(c * innerRadius, s * innerRadius); in fillInCircleVerts()
373 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
374 (*verts)++; in fillInCircleVerts()
376 (*verts)->fPos = center + SkPoint::Make(s * r, c * r); in fillInCircleVerts()
377 (*verts)->fColor = color; in fillInCircleVerts()
378 (*verts)->fOffset = SkPoint::Make(s * innerRadius, c * innerRadius); in fillInCircleVerts()
379 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
380 (*verts)++; in fillInCircleVerts()
382 (*verts)->fPos = center + SkPoint::Make(-s * r, c * r); in fillInCircleVerts()
383 (*verts)->fColor = color; in fillInCircleVerts()
384 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, c * innerRadius); in fillInCircleVerts()
385 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
386 (*verts)++; in fillInCircleVerts()
388 (*verts)->fPos = center + SkPoint::Make(-c * r, s * r); in fillInCircleVerts()
389 (*verts)->fColor = color; in fillInCircleVerts()
390 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, s * innerRadius); in fillInCircleVerts()
391 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
392 (*verts)++; in fillInCircleVerts()
394 (*verts)->fPos = center + SkPoint::Make(-c * r, -s * r); in fillInCircleVerts()
395 (*verts)->fColor = color; in fillInCircleVerts()
396 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, -s * innerRadius); in fillInCircleVerts()
397 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
398 (*verts)++; in fillInCircleVerts()
401 (*verts)->fPos = center; in fillInCircleVerts()
402 (*verts)->fColor = color; in fillInCircleVerts()
403 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInCircleVerts()
404 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
405 (*verts)++; in fillInCircleVerts()
409 void fillInRRectVerts(const Geometry& args, CircleVertex** verts) const { in fillInRRectVerts()
459 (*verts)->fPos = SkPoint::Make(xInner[i], yInner[i]); in fillInRRectVerts()
460 (*verts)->fColor = color; in fillInRRectVerts()
461 (*verts)->fOffset = SkVector::Make(0, 0); in fillInRRectVerts()
462 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
463 (*verts)++; in fillInRRectVerts()
466 (*verts)->fPos = SkPoint::Make(xOuter[i], yInner[i]); in fillInRRectVerts()
467 (*verts)->fColor = color; in fillInRRectVerts()
468 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
469 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
470 (*verts)++; in fillInRRectVerts()
472 (*verts)->fPos = SkPoint::Make(xOuter[i], yMid[i]); in fillInRRectVerts()
473 (*verts)->fColor = color; in fillInRRectVerts()
474 (*verts)->fOffset = outerVec; in fillInRRectVerts()
475 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
476 (*verts)++; in fillInRRectVerts()
478 (*verts)->fPos = SkPoint::Make(xOuter[i], yOuter[i]); in fillInRRectVerts()
479 (*verts)->fColor = color; in fillInRRectVerts()
480 (*verts)->fOffset = diagVec; in fillInRRectVerts()
481 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
482 (*verts)++; in fillInRRectVerts()
484 (*verts)->fPos = SkPoint::Make(xMid[i], yOuter[i]); in fillInRRectVerts()
485 (*verts)->fColor = color; in fillInRRectVerts()
486 (*verts)->fOffset = outerVec; in fillInRRectVerts()
487 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
488 (*verts)++; in fillInRRectVerts()
490 (*verts)->fPos = SkPoint::Make(xInner[i], yOuter[i]); in fillInRRectVerts()
491 (*verts)->fColor = color; in fillInRRectVerts()
492 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
493 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
494 (*verts)++; in fillInRRectVerts()
507 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts()
508 (*verts)->fColor = color; in fillInRRectVerts()
509 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
510 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
511 (*verts)++; in fillInRRectVerts()
514 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts()
515 (*verts)->fColor = color; in fillInRRectVerts()
516 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
517 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
518 (*verts)++; in fillInRRectVerts()
521 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - inset); in fillInRRectVerts()
522 (*verts)->fColor = color; in fillInRRectVerts()
523 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
524 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
525 (*verts)++; in fillInRRectVerts()
528 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fBottom - inset); in fillInRRectVerts()
529 (*verts)->fColor = color; in fillInRRectVerts()
530 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
531 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
532 (*verts)++; in fillInRRectVerts()
546 CircleVertex* verts = (CircleVertex*)target->makeVertexSpace( in onPrepareDraws() local
548 if (!verts) { in onPrepareDraws()
567 this->fillInCircleVerts(args, isStroked, &verts); in onPrepareDraws()
578 this->fillInRRectVerts(args, &verts); in onPrepareDraws()