Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkDashPath.cpp235 fTangent = fPts[1] - fPts[0]; in init()
236 if (fTangent.isZero()) { in init()
241 fTangent.scale(SkScalarInvert(pathLength)); in init()
242 SkPointPriv::RotateCCW(fTangent, &fNormal); in init()
266 SkScalar x0 = fPts[0].fX + fTangent.fX * d0; in addSegment()
267 SkScalar x1 = fPts[0].fX + fTangent.fX * d1; in addSegment()
268 SkScalar y0 = fPts[0].fY + fTangent.fY * d0; in addSegment()
269 SkScalar y1 = fPts[0].fY + fTangent.fY * d1; in addSegment()
282 SkVector fTangent; member in SpecialLineRec
/external/skqp/src/utils/
DSkDashPath.cpp241 fTangent = fPts[1] - fPts[0]; in init()
242 if (fTangent.isZero()) { in init()
247 fTangent.scale(SkScalarInvert(pathLength)); in init()
248 SkPointPriv::RotateCCW(fTangent, &fNormal); in init()
272 SkScalar x0 = fPts[0].fX + fTangent.fX * d0; in addSegment()
273 SkScalar x1 = fPts[0].fX + fTangent.fX * d1; in addSegment()
274 SkScalar y0 = fPts[0].fY + fTangent.fY * d0; in addSegment()
275 SkScalar y1 = fPts[0].fY + fTangent.fY * d1; in addSegment()
288 SkVector fTangent; member in SpecialLineRec