Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStroke.cpp321 SkVector unitBC = pts[2] - pts[1]; in cubic_to() local
322 unitBC.normalize(); in cubic_to()
323 unitBC.rotateCCW(); in cubic_to()
325 normalB = unitNormalAB + unitBC; in cubic_to()
326 normalC = *unitNormalCD + unitBC; in cubic_to()
328 SkScalar dot = SkPoint::DotProduct(unitNormalAB, unitBC); in cubic_to()
331 dot = SkPoint::DotProduct(*unitNormalCD, unitBC); in cubic_to()
357 SkVector normalAB, unitAB, normalBC, unitBC; in quadTo() local
368 unitBC.setNormalize(pts[2].fX - pts[1].fX, pts[2].fY - pts[1].fY); in quadTo()
369 unitBC.rotateCCW(); in quadTo()
[all …]