Lines Matching refs:verts
268 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
285 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
286 (*verts)->fColor = color; in fillInCircleVerts()
287 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
288 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
289 (*verts)++; in fillInCircleVerts()
291 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
292 (*verts)->fColor = color; in fillInCircleVerts()
293 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
294 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
295 (*verts)++; in fillInCircleVerts()
297 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
298 (*verts)->fColor = color; in fillInCircleVerts()
299 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
300 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
301 (*verts)++; in fillInCircleVerts()
303 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
304 (*verts)->fColor = color; in fillInCircleVerts()
305 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
306 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
307 (*verts)++; in fillInCircleVerts()
309 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
310 (*verts)->fColor = color; in fillInCircleVerts()
311 (*verts)->fOffset = SkPoint::Make(octOffset, 1); in fillInCircleVerts()
312 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
313 (*verts)++; in fillInCircleVerts()
315 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth); in fillInCircleVerts()
316 (*verts)->fColor = color; in fillInCircleVerts()
317 (*verts)->fOffset = SkPoint::Make(-octOffset, 1); in fillInCircleVerts()
318 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
319 (*verts)++; in fillInCircleVerts()
321 (*verts)->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth); in fillInCircleVerts()
322 (*verts)->fColor = color; in fillInCircleVerts()
323 (*verts)->fOffset = SkPoint::Make(-1, octOffset); in fillInCircleVerts()
324 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
325 (*verts)++; in fillInCircleVerts()
327 (*verts)->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
328 (*verts)->fColor = color; in fillInCircleVerts()
329 (*verts)->fOffset = SkPoint::Make(-1, -octOffset); in fillInCircleVerts()
330 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
331 (*verts)++; in fillInCircleVerts()
341 (*verts)->fPos = center + SkPoint::Make(-s * r, -c * r); in fillInCircleVerts()
342 (*verts)->fColor = color; in fillInCircleVerts()
343 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
344 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
345 (*verts)++; in fillInCircleVerts()
347 (*verts)->fPos = center + SkPoint::Make(s * r, -c * r); in fillInCircleVerts()
348 (*verts)->fColor = color; in fillInCircleVerts()
349 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
350 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
351 (*verts)++; in fillInCircleVerts()
353 (*verts)->fPos = center + SkPoint::Make(c * r, -s * r); in fillInCircleVerts()
354 (*verts)->fColor = color; in fillInCircleVerts()
355 (*verts)->fOffset = SkPoint::Make(c * innerRadius, -s * innerRadius); in fillInCircleVerts()
356 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
357 (*verts)++; in fillInCircleVerts()
359 (*verts)->fPos = center + SkPoint::Make(c * r, s * r); in fillInCircleVerts()
360 (*verts)->fColor = color; in fillInCircleVerts()
361 (*verts)->fOffset = SkPoint::Make(c * innerRadius, s * innerRadius); in fillInCircleVerts()
362 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
363 (*verts)++; in fillInCircleVerts()
365 (*verts)->fPos = center + SkPoint::Make(s * r, c * r); in fillInCircleVerts()
366 (*verts)->fColor = color; in fillInCircleVerts()
367 (*verts)->fOffset = SkPoint::Make(s * innerRadius, c * innerRadius); in fillInCircleVerts()
368 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
369 (*verts)++; in fillInCircleVerts()
371 (*verts)->fPos = center + SkPoint::Make(-s * r, c * r); in fillInCircleVerts()
372 (*verts)->fColor = color; in fillInCircleVerts()
373 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, c * innerRadius); in fillInCircleVerts()
374 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
375 (*verts)++; in fillInCircleVerts()
377 (*verts)->fPos = center + SkPoint::Make(-c * r, s * r); in fillInCircleVerts()
378 (*verts)->fColor = color; in fillInCircleVerts()
379 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, s * innerRadius); in fillInCircleVerts()
380 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
381 (*verts)++; in fillInCircleVerts()
383 (*verts)->fPos = center + SkPoint::Make(-c * r, -s * r); in fillInCircleVerts()
384 (*verts)->fColor = color; in fillInCircleVerts()
385 (*verts)->fOffset = SkPoint::Make(-c * innerRadius, -s * innerRadius); in fillInCircleVerts()
386 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
387 (*verts)++; in fillInCircleVerts()
390 (*verts)->fPos = center; in fillInCircleVerts()
391 (*verts)->fColor = color; in fillInCircleVerts()
392 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInCircleVerts()
393 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
394 (*verts)++; in fillInCircleVerts()
398 void fillInRRectVerts(const Geometry& args, CircleVertex** verts) const { in fillInRRectVerts()
448 (*verts)->fPos = SkPoint::Make(xInner[i], yInner[i]); in fillInRRectVerts()
449 (*verts)->fColor = color; in fillInRRectVerts()
450 (*verts)->fOffset = SkVector::Make(0, 0); in fillInRRectVerts()
451 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
452 (*verts)++; in fillInRRectVerts()
455 (*verts)->fPos = SkPoint::Make(xOuter[i], yInner[i]); in fillInRRectVerts()
456 (*verts)->fColor = color; in fillInRRectVerts()
457 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
458 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
459 (*verts)++; in fillInRRectVerts()
461 (*verts)->fPos = SkPoint::Make(xOuter[i], yMid[i]); in fillInRRectVerts()
462 (*verts)->fColor = color; in fillInRRectVerts()
463 (*verts)->fOffset = outerVec; in fillInRRectVerts()
464 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
465 (*verts)++; in fillInRRectVerts()
467 (*verts)->fPos = SkPoint::Make(xOuter[i], yOuter[i]); in fillInRRectVerts()
468 (*verts)->fColor = color; in fillInRRectVerts()
469 (*verts)->fOffset = diagVec; in fillInRRectVerts()
470 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
471 (*verts)++; in fillInRRectVerts()
473 (*verts)->fPos = SkPoint::Make(xMid[i], yOuter[i]); in fillInRRectVerts()
474 (*verts)->fColor = color; in fillInRRectVerts()
475 (*verts)->fOffset = outerVec; in fillInRRectVerts()
476 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
477 (*verts)++; in fillInRRectVerts()
479 (*verts)->fPos = SkPoint::Make(xInner[i], yOuter[i]); in fillInRRectVerts()
480 (*verts)->fColor = color; in fillInRRectVerts()
481 (*verts)->fOffset = SkVector::Make(0, -1); in fillInRRectVerts()
482 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
483 (*verts)++; in fillInRRectVerts()
496 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts()
497 (*verts)->fColor = color; in fillInRRectVerts()
498 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
499 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
500 (*verts)++; in fillInRRectVerts()
503 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts()
504 (*verts)->fColor = color; in fillInRRectVerts()
505 (*verts)->fOffset = SkPoint::Make(0, 0); in fillInRRectVerts()
506 (*verts)->fDistanceCorrection = distanceCorrection; in fillInRRectVerts()
507 (*verts)++; in fillInRRectVerts()
510 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - 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.fBottom - 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()
556 CircleVertex* verts = (CircleVertex*)target->makeVertexSpace( in onPrepareDraws() local
558 if (!verts) { in onPrepareDraws()
577 this->fillInCircleVerts(args, isStroked, &verts); in onPrepareDraws()
588 this->fillInRRectVerts(args, &verts); in onPrepareDraws()