Lines Matching refs:normal
26 // largest seen for normal cubics : 5, 26
27 // largest seen for normal quads : 11
95 SkVector* normal, SkVector* unitNormal) {
101 unitNormal->scale(radius, normal);
107 SkVector* normal, SkVector* unitNormal) {
112 unitNormal->scale(radius, normal);
277 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
279 void postJoinTo(const SkPoint&, const SkVector& normal,
282 void line_to(const SkPoint& currPt, const SkVector& normal);
287 bool SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal,
294 if (!set_normal_unitnormal(fPrevPt, currPt, fResScale, fRadius, normal, unitNormal)) {
301 normal->set(fRadius, 0);
306 fFirstNormal = *normal;
308 fFirstOuterPt.set(prevX + normal->fX, prevY + normal->fY);
311 fInner.moveTo(prevX - normal->fX, prevY - normal->fY);
320 void SkPathStroker::postJoinTo(const SkPoint& currPt, const SkVector& normal,
325 fPrevNormal = normal;
429 void SkPathStroker::line_to(const SkPoint& currPt, const SkVector& normal) {
430 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY);
431 fInner.lineTo(currPt.fX - normal.fX, currPt.fY - normal.fY);
474 SkVector normal, unitNormal;
476 if (!this->preJoinTo(currPt, &normal, &unitNormal, true)) {
479 this->line_to(currPt, normal);
480 this->postJoinTo(currPt, normal, unitNormal);