Lines Matching refs:unitNormal
95 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
96 if (!unitNormal->setNormalize((after.fX - before.fX) * scale, in set_normal_unitnormal()
100 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
101 unitNormal->scale(radius, normal); in set_normal_unitnormal()
107 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
108 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { in set_normal_unitnormal()
111 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
112 unitNormal->scale(radius, normal); in set_normal_unitnormal()
277 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
280 const SkVector& unitNormal);
288 SkVector* unitNormal, bool currIsLine) { in preJoinTo() argument
294 if (!set_normal_unitnormal(fPrevPt, currPt, fResScale, fRadius, normal, unitNormal)) { in preJoinTo()
302 unitNormal->set(1, 0); in preJoinTo()
307 fFirstUnitNormal = *unitNormal; in preJoinTo()
313 fJoiner(&fOuter, &fInner, fPrevUnitNormal, fPrevPt, *unitNormal, in preJoinTo()
321 const SkVector& unitNormal) { in postJoinTo() argument
324 fPrevUnitNormal = unitNormal; in postJoinTo()
474 SkVector normal, unitNormal; in lineTo() local
476 if (!this->preJoinTo(currPt, &normal, &unitNormal, true)) { in lineTo()
480 this->postJoinTo(currPt, normal, unitNormal); in lineTo()