Searched refs:octOffset (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 298 SkScalar octOffset = 0.41421356237f; // sqrt(2) - 1 in fillInCircleVerts() local 300 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts() 302 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts() 307 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts() 309 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts() 314 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts() 316 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts() 321 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts() 323 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts() 328 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts() [all …]
|
D | GrOvalOpFactory.cpp | 876 SkScalar octOffset = 0.41421356237f; // sqrt(2) - 1 in onPrepareDraws() local 878 v0->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in onPrepareDraws() 880 v0->fOffset = SkPoint::Make(-octOffset, -1); in onPrepareDraws() 884 v1->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in onPrepareDraws() 886 v1->fOffset = SkPoint::Make(octOffset, -1); in onPrepareDraws() 890 v2->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in onPrepareDraws() 892 v2->fOffset = SkPoint::Make(1, -octOffset); in onPrepareDraws() 896 v3->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in onPrepareDraws() 898 v3->fOffset = SkPoint::Make(1, octOffset); in onPrepareDraws() 902 v4->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in onPrepareDraws() [all …]
|