Home
last modified time | relevance | path

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

/external/skia/gm/
Dstrokes.cpp253 const SkScalar capOutset = SK_ScalarPI / 8; variable
254 pts2[0].fX += tangent.fX * capOutset;
255 pts2[0].fY += tangent.fY * capOutset;
256 pts2[1].fX += tangent.fX * capOutset;
257 pts2[1].fY += tangent.fY * capOutset;
258 pts2[2].fX += -tangent.fX * capOutset;
259 pts2[2].fY += -tangent.fY * capOutset;
/external/skia/src/core/
DSkScan_Hairline.cpp429 const SkScalar capOutset = SkPaint::kSquare_Cap == capStyle ? 0.5f : SK_ScalarPI / 8; in extend_pts() local
445 first->fX += tangent.fX * capOutset; in extend_pts()
446 first->fY += tangent.fY * capOutset; in extend_pts()
466 last->fX += tangent.fX * capOutset; in extend_pts()
467 last->fY += tangent.fY * capOutset; in extend_pts()