Searched refs:capOutset (Results 1 – 2 of 2) sorted by relevance
253 const SkScalar capOutset = SK_ScalarPI / 8; variable254 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;
429 const SkScalar capOutset = SkPaint::kSquare_Cap == capStyle ? 0.5f : SK_ScalarPI / 8; in extend_pts() local445 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()