• Home
  • Raw
  • Download

Lines Matching refs:SkPoint

67     bool accumulateCentroid(const SkPoint& c, const SkPoint& n);
68 bool checkConvexity(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2);
74 bool clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, SkPoint* clipPoint);
76 const SkTDArray<SkPoint>& umbraPolygon, bool lastEdge, bool doClip);
77 bool addInnerPoint(const SkPoint& pathPoint, SkColor umbraColor,
78 const SkTDArray<SkPoint>& umbraPolygon, int* currUmbraIndex);
79 int getClosestUmbraIndex(const SkPoint& point, const SkTDArray<SkPoint>& umbraPolygon);
83 void stitchConcaveRings(const SkTDArray<SkPoint>& umbraPolygon,
85 const SkTDArray<SkPoint>& penumbraPolygon,
88 void handleLine(const SkPoint& p);
89 void handleLine(const SkMatrix& m, SkPoint* p);
91 void handleQuad(const SkPoint pts[3]);
92 void handleQuad(const SkMatrix& m, SkPoint pts[3]);
94 void handleCubic(const SkMatrix& m, SkPoint pts[4]);
96 void handleConic(const SkMatrix& m, SkPoint pts[3], SkScalar w);
110 SkTDArray<SkPoint> fPointBuffer;
112 SkTDArray<SkPoint> fPositions;
116 SkTDArray<SkPoint> fPathPolygon;
117 SkTDArray<SkPoint> fClipPolygon;
121 SkPoint fCentroid;
128 SkPoint fFirstPoint;
142 SkPoint fPrevPoint;
145 static bool compute_normal(const SkPoint& p0, const SkPoint& p1, SkScalar dir, in compute_normal()
159 static bool duplicate_pt(const SkPoint& p0, const SkPoint& p1) { in duplicate_pt()
167 static SkScalar perp_dot(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2) { in perp_dot()
195 bool SkBaseShadowTessellator::accumulateCentroid(const SkPoint& curr, const SkPoint& next) { in accumulateCentroid()
218 bool SkBaseShadowTessellator::checkConvexity(const SkPoint& p0, in checkConvexity()
219 const SkPoint& p1, in checkConvexity()
220 const SkPoint& p2) { in checkConvexity()
280 SkPoint currPoint = fPathPolygon[i]; in computeConvexShadow()
281 SkPoint nextPoint = fPathPolygon[j]; in computeConvexShadow()
289 SkTDArray<SkPoint> insetPolygon; in computeConvexShadow()
309 const SkTDArray<SkPoint>& umbraPolygon = (inset > SK_ScalarNearlyZero) ? insetPolygon in computeConvexShadow()
337 SkPoint clipPoint; in computeConvexShadow()
348 SkPoint newPoint = fFirstPoint + fFirstOutset; in computeConvexShadow()
416 void SkBaseShadowTessellator::addEdge(const SkPoint& nextPoint, const SkVector& nextNormal, in addEdge()
417 SkColor umbraColor, const SkTDArray<SkPoint>& umbraPolygon, in addEdge()
438 SkPoint clipPoint; in addEdge()
463 SkPoint newPoint = nextPoint + nextNormal; in addEdge()
476 bool SkBaseShadowTessellator::clipUmbraPoint(const SkPoint& umbraPoint, const SkPoint& centroid, in clipUmbraPoint()
477 SkPoint* clipPoint) { in clipUmbraPoint()
508 bool SkBaseShadowTessellator::addInnerPoint(const SkPoint& pathPoint, SkColor umbraColor, in addInnerPoint()
509 const SkTDArray<SkPoint>& umbraPolygon, in addInnerPoint()
511 SkPoint umbraPoint; in addInnerPoint()
540 int SkBaseShadowTessellator::getClosestUmbraIndex(const SkPoint& p, in getClosestUmbraIndex()
541 const SkTDArray<SkPoint>& umbraPolygon) { in getClosestUmbraIndex()
579 SkTDArray<SkPoint> umbraPolygon; in computeConcaveShadow()
589 SkTDArray<SkPoint> penumbraPolygon; in computeConcaveShadow()
609 void SkBaseShadowTessellator::stitchConcaveRings(const SkTDArray<SkPoint>& umbraPolygon, in stitchConcaveRings()
611 const SkTDArray<SkPoint>& penumbraPolygon, in stitchConcaveRings()
753 static void sanitize_point(const SkPoint& in, SkPoint* out) { in sanitize_point()
758 void SkBaseShadowTessellator::handleLine(const SkPoint& p) { in handleLine()
759 SkPoint pSanitized; in handleLine()
785 void SkBaseShadowTessellator::handleLine(const SkMatrix& m, SkPoint* p) { in handleLine()
791 void SkBaseShadowTessellator::handleQuad(const SkPoint pts[3]) { in handleQuad()
802 SkPoint* target = fPointBuffer.begin(); in handleQuad()
816 void SkBaseShadowTessellator::handleQuad(const SkMatrix& m, SkPoint pts[3]) { in handleQuad()
821 void SkBaseShadowTessellator::handleCubic(const SkMatrix& m, SkPoint pts[4]) { in handleCubic()
827 SkPoint* target = fPointBuffer.begin(); in handleCubic()
842 void SkBaseShadowTessellator::handleConic(const SkMatrix& m, SkPoint pts[3], SkScalar w) { in handleConic()
848 const SkPoint* quads = quadder.computeQuads(pts, w, kConicTolerance); in handleConic()
849 SkPoint lastPoint = *(quads++); in handleConic()
852 SkPoint quadPts[3]; in handleConic()
966 SkPoint pts[4]; in computePathPolygon()
1079 SkPoint pts[4]; in computeClipAndPathPolygons()
1080 SkPoint clipPts[4]; in computeClipAndPathPolygons()
1089 SkPoint curvePoint; in computeClipAndPathPolygons()
1159 void SkSpotShadowTessellator::addToClip(const SkPoint& point) { in addToClip()