Lines Matching defs:pts

74     void handleQuad(const SkPoint pts[3]);
75 void handleQuad(const SkMatrix& m, SkPoint pts[3]);
77 void handleCubic(const SkMatrix& m, SkPoint pts[4]);
79 void handleConic(const SkMatrix& m, SkPoint pts[3], SkScalar w);
769 void SkBaseShadowTessellator::handleQuad(const SkPoint pts[3]) {
772 SkVector v0 = pts[1] - pts[0];
773 SkVector v1 = pts[2] - pts[0];
778 int maxCount = GrPathUtils::quadraticPointCount(pts, kQuadTolerance);
781 int count = GrPathUtils::generateQuadraticPoints(pts[0], pts[1], pts[2],
789 this->handleLine(pts[1]);
790 this->handleLine(pts[2]);
794 void SkBaseShadowTessellator::handleQuad(const SkMatrix& m, SkPoint pts[3]) {
795 m.mapPoints(pts, 3);
796 this->handleQuad(pts);
799 void SkBaseShadowTessellator::handleCubic(const SkMatrix& m, SkPoint pts[4]) {
800 m.mapPoints(pts, 4);
803 int maxCount = GrPathUtils::cubicPointCount(pts, kCubicTolerance);
806 int count = GrPathUtils::generateCubicPoints(pts[0], pts[1], pts[2], pts[3],
814 this->handleLine(pts[1]);
815 this->handleLine(pts[2]);
816 this->handleLine(pts[3]);
820 void SkBaseShadowTessellator::handleConic(const SkMatrix& m, SkPoint pts[3], SkScalar w) {
822 w = SkConic::TransformW(pts, w, m);
824 m.mapPoints(pts, 3);
826 const SkPoint* quads = quadder.computeQuads(pts, w, kConicTolerance);
833 quadPts[2] = i == count - 1 ? pts[2] : quads[1];
946 SkPoint pts[4];
950 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
956 this->handleLine(ctm, &pts[1]);
959 this->handleQuad(ctm, pts);
962 this->handleCubic(ctm, pts);
965 this->handleConic(ctm, pts, iter.conicWeight());
1059 SkPoint pts[4];
1073 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
1079 ctm.mapPoints(clipPts, &pts[1], 1);
1081 this->handleLine(shadowTransform, &pts[1]);
1084 ctm.mapPoints(clipPts, pts, 3);
1090 this->handleQuad(shadowTransform, pts);
1093 ctm.mapPoints(clipPts, pts, 3);
1101 this->handleConic(shadowTransform, pts, w);
1104 ctm.mapPoints(clipPts, pts, 4);
1118 this->handleCubic(shadowTransform, pts);