Lines Matching refs:verts
282 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
299 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
300 (*verts)->fColor = color; in fillInCircleVerts()
301 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
302 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
303 (*verts)++; in fillInCircleVerts()
305 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
306 (*verts)->fColor = color; in fillInCircleVerts()
307 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
308 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
309 (*verts)++; in fillInCircleVerts()
311 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
312 (*verts)->fColor = color; in fillInCircleVerts()
313 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
314 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
315 (*verts)++; in fillInCircleVerts()
317 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
318 (*verts)->fColor = color; in fillInCircleVerts()
319 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
320 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
321 (*verts)++; in fillInCircleVerts()
323 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
324 (*verts)->fColor = color; in fillInCircleVerts()
325 (*verts)->fOffset = SkPoint::Make(octOffset, 1); in fillInCircleVerts()
326 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
327 (*verts)++; in fillInCircleVerts()
329 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth); in fillInCircleVerts()
330 (*verts)->fColor = color; in fillInCircleVerts()
331 (*verts)->fOffset = SkPoint::Make(-octOffset, 1); in fillInCircleVerts()
332 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
333 (*verts)++; in fillInCircleVerts()
335 (*verts)->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth); in fillInCircleVerts()
336 (*verts)->fColor = color; in fillInCircleVerts()
337 (*verts)->fOffset = SkPoint::Make(-1, octOffset); in fillInCircleVerts()
338 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
339 (*verts)++; in fillInCircleVerts()
341 (*verts)->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
342 (*verts)->fColor = color; in fillInCircleVerts()
343 (*verts)->fOffset = SkPoint::Make(-1, -octOffset); in fillInCircleVerts()
344 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
345 (*verts)++; in fillInCircleVerts()
355 (*verts)->fPos = center + SkPoint::Make(-s * r, -c * r); in fillInCircleVerts()
356 (*verts)->fColor = color; in fillInCircleVerts()
357 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
358 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
359 (*verts)++; in fillInCircleVerts()
361 (*verts)->fPos = center + SkPoint::Make(s * r, -c * r); in fillInCircleVerts()
362 (*verts)->fColor = color; in fillInCircleVerts()
363 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
364 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
365 (*verts)++; in fillInCircleVerts()
367 (*verts)->fPos = center + SkPoint::Make(c * r, -s * r); in fillInCircleVerts()
368 (*verts)->fColor = color; in fillInCircleVerts()
369 (*verts)->fOffset = SkPoint::Make(c * innerRadius, -s * innerRadius); in fillInCircleVerts()
370 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
371 (*verts)++; in fillInCircleVerts()
373 (*verts)->fPos = center + SkPoint::Make(c * r, s * r); in fillInCircleVerts()
374 (*verts)->fColor = color; in fillInCircleVerts()
375 (*verts)->fOffset = SkPoint::Make(c * innerRadius, s * innerRadius); in fillInCircleVerts()
376 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
377 (*verts)++; in fillInCircleVerts()
379 (*verts)->fPos = center + SkPoint::Make(s * r, c * r); in fillInCircleVerts()
380 (*verts)->fColor = color; in fillInCircleVerts()
381 (*verts)->fOffset = SkPoint::Make(s * innerRadius, c * innerRadius); in fillInCircleVerts()
382 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
383 (*verts)++; in fillInCircleVerts()
385 (*verts)->fPos = center + SkPoint::Make(-s * r, c * r); in fillInCircleVerts()
386 (*verts)->fColor = color; in fillInCircleVerts()
387 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, c * innerRadius); in fillInCircleVerts()
388 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
389 (*verts)++; in fillInCircleVerts()
391 (*verts)->fPos = center + SkPoint::Make(-c * r, s * r); in fillInCircleVerts()
392 (*verts)->fColor = color; in fillInCircleVerts()
393 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, s * innerRadius); in fillInCircleVerts()
394 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
395 (*verts)++; in fillInCircleVerts()
397 (*verts)->fPos = center + SkPoint::Make(-c * r, -s * r); in fillInCircleVerts()
398 (*verts)->fColor = color; in fillInCircleVerts()
399 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, -s * innerRadius); in fillInCircleVerts()
400 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
401 (*verts)++; in fillInCircleVerts()
404 (*verts)->fPos = center; in fillInCircleVerts()
405 (*verts)->fColor = color; in fillInCircleVerts()
406 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInCircleVerts()
407 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
408 (*verts)++; in fillInCircleVerts()
412 void fillInRRectVerts(const Geometry& args, CircleVertex** verts) const { in fillInRRectVerts()
462 (*verts)->fPos = SkPoint::Make(xInner[i], yInner[i]); in fillInRRectVerts()
463 (*verts)->fColor = color; in fillInRRectVerts()
464 (*verts)->fOffset = SkVector::Make(0, 0); in fillInRRectVerts()
465 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
466 (*verts)++; in fillInRRectVerts()
469 (*verts)->fPos = SkPoint::Make(xOuter[i], yInner[i]); in fillInRRectVerts()
470 (*verts)->fColor = color; in fillInRRectVerts()
471 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
472 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
473 (*verts)++; in fillInRRectVerts()
475 (*verts)->fPos = SkPoint::Make(xOuter[i], yMid[i]); in fillInRRectVerts()
476 (*verts)->fColor = color; in fillInRRectVerts()
477 (*verts)->fOffset = outerVec; in fillInRRectVerts()
478 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
479 (*verts)++; in fillInRRectVerts()
481 (*verts)->fPos = SkPoint::Make(xOuter[i], yOuter[i]); in fillInRRectVerts()
482 (*verts)->fColor = color; in fillInRRectVerts()
483 (*verts)->fOffset = diagVec; in fillInRRectVerts()
484 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
485 (*verts)++; in fillInRRectVerts()
487 (*verts)->fPos = SkPoint::Make(xMid[i], yOuter[i]); in fillInRRectVerts()
488 (*verts)->fColor = color; in fillInRRectVerts()
489 (*verts)->fOffset = outerVec; in fillInRRectVerts()
490 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
491 (*verts)++; in fillInRRectVerts()
493 (*verts)->fPos = SkPoint::Make(xInner[i], yOuter[i]); in fillInRRectVerts()
494 (*verts)->fColor = color; in fillInRRectVerts()
495 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
496 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
497 (*verts)++; in fillInRRectVerts()
510 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts()
511 (*verts)->fColor = color; in fillInRRectVerts()
512 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
513 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
514 (*verts)++; in fillInRRectVerts()
517 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts()
518 (*verts)->fColor = color; in fillInRRectVerts()
519 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
520 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
521 (*verts)++; in fillInRRectVerts()
524 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - inset); in fillInRRectVerts()
525 (*verts)->fColor = color; in fillInRRectVerts()
526 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
527 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
528 (*verts)++; in fillInRRectVerts()
531 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fBottom - inset); in fillInRRectVerts()
532 (*verts)->fColor = color; in fillInRRectVerts()
533 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
534 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
535 (*verts)++; in fillInRRectVerts()
549 CircleVertex* verts = (CircleVertex*)target->makeVertexSpace( in onPrepareDraws() local
551 if (!verts) { in onPrepareDraws()
570 this->fillInCircleVerts(args, isStroked, &verts); in onPrepareDraws()
581 this->fillInRRectVerts(args, &verts); in onPrepareDraws()