Lines Matching refs:unitNormal
40 SkVector* normal, SkVector* unitNormal) {
41 if (!unitNormal->setNormalize(after.fX - before.fX, after.fY - before.fY)) {
44 unitNormal->rotateCCW();
45 unitNormal->scale(radius, normal);
51 SkVector* normal, SkVector* unitNormal) {
52 if (!unitNormal->setNormalize(vec.fX, vec.fY)) {
55 unitNormal->rotateCCW();
56 unitNormal->scale(radius, normal);
97 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
100 const SkVector& unitNormal);
116 SkVector* unitNormal, bool currIsLine) {
123 unitNormal));
127 fFirstUnitNormal = *unitNormal;
133 fJoiner(&fOuter, &fInner, fPrevUnitNormal, fPrevPt, *unitNormal,
140 const SkVector& unitNormal) {
142 fPrevUnitNormal = unitNormal;
230 SkVector normal, unitNormal;
232 this->preJoinTo(currPt, &normal, &unitNormal, true);
234 this->postJoinTo(currPt, normal, unitNormal);