Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkDashPath.cpp168 fTangent = fPts[1] - fPts[0]; in init()
169 if (fTangent.isZero()) { in init()
174 fTangent.scale(SkScalarInvert(pathLength)); in init()
175 fTangent.rotateCCW(&fNormal); in init()
200 SkScalar x0 = fPts[0].fX + SkScalarMul(fTangent.fX, d0); in addSegment()
201 SkScalar x1 = fPts[0].fX + SkScalarMul(fTangent.fX, d1); in addSegment()
202 SkScalar y0 = fPts[0].fY + SkScalarMul(fTangent.fY, d0); in addSegment()
203 SkScalar y1 = fPts[0].fY + SkScalarMul(fTangent.fY, d1); in addSegment()
216 SkVector fTangent; member in SpecialLineRec