Lines Matching refs:SkVector
59 static inline bool degenerate_vector(const SkVector& v) { in degenerate_vector()
64 static inline bool normals_too_curvy(const SkVector& norm0, SkVector& norm1) { in normals_too_curvy()
77 static inline bool normals_too_pinchy(const SkVector& norm0, SkVector& norm1) { in normals_too_pinchy()
95 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal()
104 static bool set_normal_unitnormal(const SkVector& vec, in set_normal_unitnormal()
106 SkVector* normal, SkVector* unitNormal) { in set_normal_unitnormal()
191 SkVector fFirstNormal, fPrevNormal, fFirstUnitNormal, fPrevUnitNormal;
258 const SkVector& normalAB, const SkVector& unitNormalAB,
259 SkVector* normalBC, SkVector* unitNormalBC);
261 const SkVector& normalAB, const SkVector& unitNormalAB,
262 SkVector* normalCD, SkVector* unitNormalCD);
264 const SkVector& normalAB, const SkVector& unitNormalAB,
265 SkVector* normalBC, SkVector* unitNormalBC);
266 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
274 bool preJoinTo(const SkPoint&, SkVector* normal, SkVector* unitNormal,
276 void postJoinTo(const SkPoint&, const SkVector& normal,
277 const SkVector& unitNormal);
279 void line_to(const SkPoint& currPt, const SkVector& normal);
282 const SkVector& normalAB, const SkVector& unitNormalAB,
283 SkVector* normalBC, SkVector* unitNormalBC,
286 const SkVector& normalAB, const SkVector& unitNormalAB,
287 SkVector* normalCD, SkVector* unitNormalCD,
294 bool SkPathStroker::preJoinTo(const SkPoint& currPt, SkVector* normal, in preJoinTo()
295 SkVector* unitNormal, bool currIsLine) { in preJoinTo()
320 void SkPathStroker::postJoinTo(const SkPoint& currPt, const SkVector& normal, in postJoinTo()
321 const SkVector& unitNormal) { in postJoinTo()
412 void SkPathStroker::line_to(const SkPoint& currPt, const SkVector& normal) { in line_to()
421 SkVector normal, unitNormal; in lineTo()
432 const SkVector& normalAB, const SkVector& unitNormalAB, in quad_to()
433 SkVector* normalBC, SkVector* unitNormalBC, in quad_to()
446 SkVector norm, unit; in quad_to()
452 SkVector normalB; in quad_to()
468 void SkPathStroker::setQuadEndNormal(const SkPoint quad[3], const SkVector& normalAB, in setQuadEndNormal()
469 const SkVector& unitNormalAB, SkVector* normalBC, SkVector* unitNormalBC) { in setQuadEndNormal()
476 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB, in setConicEndNormal()
477 const SkVector& unitNormalAB, SkVector* normalBC, SkVector* unitNormalBC) { in setConicEndNormal()
481 void SkPathStroker::setCubicEndNormal(const SkPoint cubic[4], const SkVector& normalAB, in setCubicEndNormal()
482 const SkVector& unitNormalAB, SkVector* normalCD, SkVector* unitNormalCD) { in setCubicEndNormal()
483 SkVector ab = cubic[1] - cubic[0]; in setCubicEndNormal()
484 SkVector cd = cubic[3] - cubic[2]; in setCubicEndNormal()
519 SkVector dxy = lineEnd - lineStart; in pt_to_line()
523 SkVector ab0 = pt - lineStart; in pt_to_line()
562 SkVector testDiff = cubic[inner] - cubic[index]; in cubic_in_line()
599 SkVector testDiff = quad[inner] - quad[index]; in quad_in_line()
696 const SkVector& normalAB, const SkVector& unitNormalAB, in cubic_to()
697 SkVector* normalCD, SkVector* unitNormalCD, in cubic_to()
699 SkVector ab = pts[1] - pts[0]; in cubic_to()
700 SkVector cd = pts[3] - pts[2]; in cubic_to()
701 SkVector normalBC, unitNormalBC; in cubic_to()
742 SkVector norm, unit, dummy, unitDummy; in cubic_to()
751 SkVector normalB, normalC; in cubic_to()
755 SkVector unitBC = pts[2] - pts[1]; in cubic_to()
799 SkVector normalAB, unitAB, normalBC, unitBC; in conicTo()
835 SkVector normalAB, unitAB, normalBC, unitBC; in quadTo()
857 SkVector normalAB, unitAB, normalBC, unitBC; in quadTo()
887 SkVector n = normalBC; in quadTo()
888 SkVector u = unitBC; in quadTo()
905 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts()
928 SkVector dxy; in conicPerpRay()
963 SkVector dxy; in cubicPerpRay()
1011 SkVector dxy; in quadPerpRay()
1026 SkVector aLen = quadPts->fTangentStart - start; in intersectRay()
1027 SkVector bLen = quadPts->fTangentEnd - end; in intersectRay()
1029 SkVector ab0 = start - end; in intersectRay()
1070 SkVector vec = line[1] - line[0]; in intersect_quad_ray()
1109 SkVector smaller = quad[1] - quad[0]; in sharp_angle()
1110 SkVector larger = quad[1] - quad[2]; in sharp_angle()
1405 SkVector normalAB, unitAB, normalCD, unitCD; in cubicTo()
1436 SkVector normalAB, unitAB, normalCD, unitCD; in cubicTo()
1449 SkVector n, u; in cubicTo()