Home | History | Annotate | Download | only in core

Lines Matching refs:normal

55                                   SkVector* normal, SkVector* unitNormal) {
60 unitNormal->scale(radius, normal);
66 SkVector* normal, SkVector* unitNormal) {
71 unitNormal->scale(radius, normal);
111 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
113 void postJoinTo(const SkPoint&, const SkVector& normal,
116 void line_to(const SkPoint& currPt, const SkVector& normal);
129 void SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal,
136 SkAssertResult(set_normal_unitnormal(fPrevPt, currPt, fRadius, normal,
140 fFirstNormal = *normal;
142 fFirstOuterPt.set(prevX + normal->fX, prevY + normal->fY);
145 fInner.moveTo(prevX - normal->fX, prevY - normal->fY);
153 void SkPathStroker::postJoinTo(const SkPoint& currPt, const SkVector& normal,
157 fPrevNormal = normal;
223 void SkPathStroker::line_to(const SkPoint& currPt, const SkVector& normal) {
224 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY);
225 fInner.lineTo(currPt.fX - normal.fX, currPt.fY - normal.fY);
232 SkVector normal, unitNormal;
234 this->preJoinTo(currPt, &normal, &unitNormal, true);
235 this->line_to(currPt, normal);
236 this->postJoinTo(currPt, normal, unitNormal);
325 if (0) { // this is normal to the line between our adjacent pts