Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStroke.cpp334 SkVector unitBC = pts[2] - pts[1]; in cubic_to() local
335 unitBC.normalize(); in cubic_to()
336 unitBC.rotateCCW(); in cubic_to()
338 normalB = unitNormalAB + unitBC; in cubic_to()
339 normalC = *unitNormalCD + unitBC; in cubic_to()
341 SkScalar dot = SkPoint::DotProduct(unitNormalAB, unitBC); in cubic_to()
344 dot = SkPoint::DotProduct(*unitNormalCD, unitBC); in cubic_to()
370 SkVector normalAB, unitAB, normalBC, unitBC; in quadTo() local
381 unitBC.setNormalize(pts[2].fX - pts[1].fX, pts[2].fY - pts[1].fY); in quadTo()
382 unitBC.rotateCCW(); in quadTo()
[all …]