Lines Matching refs:unitNormal
55 SkVector* normal, SkVector* unitNormal) {
56 if (!unitNormal->setNormalize(after.fX - before.fX, after.fY - before.fY)) {
59 unitNormal->rotateCCW();
60 unitNormal->scale(radius, normal);
66 SkVector* normal, SkVector* unitNormal) {
67 if (!unitNormal->setNormalize(vec.fX, vec.fY)) {
70 unitNormal->rotateCCW();
71 unitNormal->scale(radius, normal);
111 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
114 const SkVector& unitNormal);
130 SkVector* unitNormal, bool currIsLine) {
137 unitNormal));
141 fFirstUnitNormal = *unitNormal;
147 fJoiner(&fOuter, &fInner, fPrevUnitNormal, fPrevPt, *unitNormal,
154 const SkVector& unitNormal) {
156 fPrevUnitNormal = unitNormal;
232 SkVector normal, unitNormal;
234 this->preJoinTo(currPt, &normal, &unitNormal, true);
236 this->postJoinTo(currPt, normal, unitNormal);