Home
last modified time | relevance | path

Searched refs:octOffset (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp296 SkScalar octOffset = 0.41421356237f; // sqrt(2) - 1 in fillInCircleVerts() local
298 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
300 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
304 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
306 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
310 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
312 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
316 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
318 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
322 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
[all …]
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp297 SkScalar octOffset = 0.41421356237f; // sqrt(2) - 1 in fillInCircleVerts() local
299 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
301 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
305 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
307 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
311 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
313 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
317 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
319 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
323 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
[all …]