Home | History | Annotate | Download | only in core

Lines Matching defs:normal

21 // largest seen for normal cubics : 5, 26
22 // largest seen for normal quads : 11
57 SkVector* normal, SkVector* unitNormal) {
63 unitNormal->scale(radius, normal);
69 SkVector* normal, SkVector* unitNormal) {
74 unitNormal->scale(radius, normal);
239 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
241 void postJoinTo(const SkPoint&, const SkVector& normal,
244 void line_to(const SkPoint& currPt, const SkVector& normal);
249 bool SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal,
256 if (!set_normal_unitnormal(fPrevPt, currPt, fResScale, fRadius, normal, unitNormal)) {
263 normal->set(fRadius, 0);
268 fFirstNormal = *normal;
270 fFirstOuterPt.set(prevX + normal->fX, prevY + normal->fY);
273 fInner.moveTo(prevX - normal->fX, prevY - normal->fY);
282 void SkPathStroker::postJoinTo(const SkPoint& currPt, const SkVector& normal,
287 fPrevNormal = normal;
386 void SkPathStroker::line_to(const SkPoint& currPt, const SkVector& normal) {
387 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY);
388 fInner.lineTo(currPt.fX - normal.fX, currPt.fY - normal.fY);
431 SkVector normal, unitNormal;
433 if (!this->preJoinTo(currPt, &normal, &unitNormal, true)) {
436 this->line_to(currPt, normal);
437 this->postJoinTo(currPt, normal, unitNormal);