Lines Matching refs:SkPoint
18 return !SkPoint::CanNormalize(v.fX, v.fY); in degenerate_vector()
31 return SkPoint::DotProduct(norm0, norm1) <= kFlatEnoughNormalDotProd; in normals_too_curvy()
37 return SkPoint::DotProduct(norm0, norm1) <= kTooPinchyNormalDotProd; in normals_too_pinchy()
40 static bool set_normal_unitnormal(const SkPoint& before, const SkPoint& after, in set_normal_unitnormal()
69 void moveTo(const SkPoint&);
70 void lineTo(const SkPoint&);
71 void quadTo(const SkPoint&, const SkPoint&);
72 void cubicTo(const SkPoint&, const SkPoint&, const SkPoint&);
86 SkPoint fFirstPt, fPrevPt; // on original path
87 SkPoint fFirstOuterPt;
98 void preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
100 void postJoinTo(const SkPoint&, const SkVector& normal,
103 void line_to(const SkPoint& currPt, const SkVector& normal);
104 void quad_to(const SkPoint pts[3],
108 void cubic_to(const SkPoint pts[4],
116 void SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal, in preJoinTo()
140 void SkPathStroker::postJoinTo(const SkPoint& currPt, const SkVector& normal, in postJoinTo()
150 SkPoint pt; in finishContour()
202 void SkPathStroker::moveTo(const SkPoint& pt) { in moveTo()
210 void SkPathStroker::line_to(const SkPoint& currPt, const SkVector& normal) { in line_to()
215 void SkPathStroker::lineTo(const SkPoint& currPt) { in lineTo()
226 void SkPathStroker::quad_to(const SkPoint pts[3], in quad_to()
240 SkPoint tmp[5]; in quad_to()
258 void SkPathStroker::cubic_to(const SkPoint pts[4], in cubic_to()
298 SkPoint tmp[7]; in cubic_to()
328 SkScalar dot = SkPoint::DotProduct(unitNormalAB, unitBC); in cubic_to()
331 dot = SkPoint::DotProduct(*unitNormalCD, unitBC); in cubic_to()
346 void SkPathStroker::quadTo(const SkPoint& pt1, const SkPoint& pt2) { in quadTo()
362 SkPoint pts[3], tmp[5]; in quadTo()
401 void SkPathStroker::cubicTo(const SkPoint& pt1, const SkPoint& pt2, in cubicTo()
402 const SkPoint& pt3) { in cubicTo()
416 const SkPoint* nextPt = &pt1; in cubicTo()
423 SkPoint pts[4], tmp[13]; in cubicTo()
437 memcpy(tmp, pts, 4 * sizeof(SkPoint)); in cubicTo()
454 SkPoint p; in cubicTo()
459 SkScalar dot = SkPoint::DotProduct(c, c); in cubicTo()
540 static void identity_proc(SkPoint pts[], int count) {} in identity_proc()
541 static void shift_down_2_proc(SkPoint pts[], int count) { in shift_down_2_proc()
564 void (*proc)(SkPoint pts[], int count) = identity_proc; in strokePath()
578 SkPoint pts[4]; in strokePath()
635 SkPoint pts[] = { 146.333328, 192.333328, 300.333344, 293.333344 }; in strokePath()
656 void SkStroke::strokeLine(const SkPoint& p0, const SkPoint& p1, in strokeLine()