Lines Matching refs:unitNormal
62 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
63 if (!unitNormal->setNormalize((after.fX - before.fX) * scale, in set_normal_unitnormal()
67 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
68 unitNormal->scale(radius, normal); in set_normal_unitnormal()
74 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal() argument
75 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { in set_normal_unitnormal()
78 SkPointPriv::RotateCCW(unitNormal); in set_normal_unitnormal()
79 unitNormal->scale(radius, normal); in set_normal_unitnormal()
244 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
247 const SkVector& unitNormal);
255 SkVector* unitNormal, bool currIsLine) { in preJoinTo() argument
261 if (!set_normal_unitnormal(fPrevPt, currPt, fResScale, fRadius, normal, unitNormal)) { in preJoinTo()
269 unitNormal->set(1, 0); in preJoinTo()
274 fFirstUnitNormal = *unitNormal; in preJoinTo()
280 fJoiner(&fOuter, &fInner, fPrevUnitNormal, fPrevPt, *unitNormal, in preJoinTo()
288 const SkVector& unitNormal) { in postJoinTo() argument
291 fPrevUnitNormal = unitNormal; in postJoinTo()
441 SkVector normal, unitNormal; in lineTo() local
443 if (!this->preJoinTo(currPt, &normal, &unitNormal, true)) { in lineTo()
447 this->postJoinTo(currPt, normal, unitNormal); in lineTo()