Lines Matching refs:verts
281 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
298 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
299 (*verts)->fColor = color; in fillInCircleVerts()
300 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
301 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
302 (*verts)++; in fillInCircleVerts()
304 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
305 (*verts)->fColor = color; in fillInCircleVerts()
306 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
307 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
308 (*verts)++; in fillInCircleVerts()
310 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
311 (*verts)->fColor = color; in fillInCircleVerts()
312 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
313 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
314 (*verts)++; in fillInCircleVerts()
316 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
317 (*verts)->fColor = color; in fillInCircleVerts()
318 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
319 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
320 (*verts)++; in fillInCircleVerts()
322 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
323 (*verts)->fColor = color; in fillInCircleVerts()
324 (*verts)->fOffset = SkPoint::Make(octOffset, 1); in fillInCircleVerts()
325 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
326 (*verts)++; in fillInCircleVerts()
328 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth); in fillInCircleVerts()
329 (*verts)->fColor = color; in fillInCircleVerts()
330 (*verts)->fOffset = SkPoint::Make(-octOffset, 1); in fillInCircleVerts()
331 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
332 (*verts)++; in fillInCircleVerts()
334 (*verts)->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth); in fillInCircleVerts()
335 (*verts)->fColor = color; in fillInCircleVerts()
336 (*verts)->fOffset = SkPoint::Make(-1, octOffset); in fillInCircleVerts()
337 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
338 (*verts)++; in fillInCircleVerts()
340 (*verts)->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
341 (*verts)->fColor = color; in fillInCircleVerts()
342 (*verts)->fOffset = SkPoint::Make(-1, -octOffset); in fillInCircleVerts()
343 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
344 (*verts)++; in fillInCircleVerts()
354 (*verts)->fPos = center + SkPoint::Make(-s * r, -c * r); in fillInCircleVerts()
355 (*verts)->fColor = color; in fillInCircleVerts()
356 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
357 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
358 (*verts)++; in fillInCircleVerts()
360 (*verts)->fPos = center + SkPoint::Make(s * r, -c * r); in fillInCircleVerts()
361 (*verts)->fColor = color; in fillInCircleVerts()
362 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
363 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
364 (*verts)++; in fillInCircleVerts()
366 (*verts)->fPos = center + SkPoint::Make(c * r, -s * r); in fillInCircleVerts()
367 (*verts)->fColor = color; in fillInCircleVerts()
368 (*verts)->fOffset = SkPoint::Make(c * innerRadius, -s * innerRadius); in fillInCircleVerts()
369 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
370 (*verts)++; in fillInCircleVerts()
372 (*verts)->fPos = center + SkPoint::Make(c * r, s * r); in fillInCircleVerts()
373 (*verts)->fColor = color; in fillInCircleVerts()
374 (*verts)->fOffset = SkPoint::Make(c * innerRadius, s * innerRadius); in fillInCircleVerts()
375 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
376 (*verts)++; in fillInCircleVerts()
378 (*verts)->fPos = center + SkPoint::Make(s * r, c * r); in fillInCircleVerts()
379 (*verts)->fColor = color; in fillInCircleVerts()
380 (*verts)->fOffset = SkPoint::Make(s * innerRadius, c * innerRadius); in fillInCircleVerts()
381 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
382 (*verts)++; in fillInCircleVerts()
384 (*verts)->fPos = center + SkPoint::Make(-s * r, c * r); in fillInCircleVerts()
385 (*verts)->fColor = color; in fillInCircleVerts()
386 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, c * innerRadius); in fillInCircleVerts()
387 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
388 (*verts)++; in fillInCircleVerts()
390 (*verts)->fPos = center + SkPoint::Make(-c * r, s * r); in fillInCircleVerts()
391 (*verts)->fColor = color; in fillInCircleVerts()
392 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, s * innerRadius); in fillInCircleVerts()
393 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
394 (*verts)++; in fillInCircleVerts()
396 (*verts)->fPos = center + SkPoint::Make(-c * r, -s * r); in fillInCircleVerts()
397 (*verts)->fColor = color; in fillInCircleVerts()
398 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, -s * innerRadius); in fillInCircleVerts()
399 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
400 (*verts)++; in fillInCircleVerts()
403 (*verts)->fPos = center; in fillInCircleVerts()
404 (*verts)->fColor = color; in fillInCircleVerts()
405 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInCircleVerts()
406 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
407 (*verts)++; in fillInCircleVerts()
411 void fillInRRectVerts(const Geometry& args, CircleVertex** verts) const { in fillInRRectVerts()
461 (*verts)->fPos = SkPoint::Make(xInner[i], yInner[i]); in fillInRRectVerts()
462 (*verts)->fColor = color; in fillInRRectVerts()
463 (*verts)->fOffset = SkVector::Make(0, 0); in fillInRRectVerts()
464 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
465 (*verts)++; in fillInRRectVerts()
468 (*verts)->fPos = SkPoint::Make(xOuter[i], yInner[i]); in fillInRRectVerts()
469 (*verts)->fColor = color; in fillInRRectVerts()
470 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
471 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
472 (*verts)++; in fillInRRectVerts()
474 (*verts)->fPos = SkPoint::Make(xOuter[i], yMid[i]); in fillInRRectVerts()
475 (*verts)->fColor = color; in fillInRRectVerts()
476 (*verts)->fOffset = outerVec; in fillInRRectVerts()
477 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
478 (*verts)++; in fillInRRectVerts()
480 (*verts)->fPos = SkPoint::Make(xOuter[i], yOuter[i]); in fillInRRectVerts()
481 (*verts)->fColor = color; in fillInRRectVerts()
482 (*verts)->fOffset = diagVec; in fillInRRectVerts()
483 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
484 (*verts)++; in fillInRRectVerts()
486 (*verts)->fPos = SkPoint::Make(xMid[i], yOuter[i]); in fillInRRectVerts()
487 (*verts)->fColor = color; in fillInRRectVerts()
488 (*verts)->fOffset = outerVec; in fillInRRectVerts()
489 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
490 (*verts)++; in fillInRRectVerts()
492 (*verts)->fPos = SkPoint::Make(xInner[i], yOuter[i]); in fillInRRectVerts()
493 (*verts)->fColor = color; in fillInRRectVerts()
494 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
495 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
496 (*verts)++; in fillInRRectVerts()
509 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts()
510 (*verts)->fColor = color; in fillInRRectVerts()
511 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
512 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
513 (*verts)++; in fillInRRectVerts()
516 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts()
517 (*verts)->fColor = color; in fillInRRectVerts()
518 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
519 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
520 (*verts)++; in fillInRRectVerts()
523 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - inset); in fillInRRectVerts()
524 (*verts)->fColor = color; in fillInRRectVerts()
525 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
526 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
527 (*verts)++; in fillInRRectVerts()
530 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fBottom - inset); in fillInRRectVerts()
531 (*verts)->fColor = color; in fillInRRectVerts()
532 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
533 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
534 (*verts)++; in fillInRRectVerts()
548 CircleVertex* verts = (CircleVertex*)target->makeVertexSpace( in onPrepareDraws() local
550 if (!verts) { in onPrepareDraws()
569 this->fillInCircleVerts(args, isStroked, &verts); in onPrepareDraws()
580 this->fillInRRectVerts(args, &verts); in onPrepareDraws()