Searched refs:capOutset (Results 1 – 2 of 2) sorted by relevance
252 const SkScalar capOutset = SK_ScalarPI / 8; variable253 pts2[0].fX += tangent.fX * capOutset;254 pts2[0].fY += tangent.fY * capOutset;255 pts2[1].fX += tangent.fX * capOutset;256 pts2[1].fY += tangent.fY * capOutset;257 pts2[2].fX += -tangent.fX * capOutset;258 pts2[2].fY += -tangent.fY * capOutset;
418 const SkScalar capOutset = SkPaint::kSquare_Cap == capStyle ? 0.5f : SK_ScalarPI / 8; in extend_pts() local434 first->fX += tangent.fX * capOutset; in extend_pts()435 first->fY += tangent.fY * capOutset; in extend_pts()454 last->fX += tangent.fX * capOutset; in extend_pts()455 last->fY += tangent.fY * capOutset; in extend_pts()