Lines Matching refs:pts
70 void SkEdgeBuilder::addLine(const SkPoint pts[]) { in addLine() argument
72 if (edge->setLine(pts[0], pts[1], fShiftUp)) { in addLine()
90 void SkEdgeBuilder::addQuad(const SkPoint pts[]) { in addQuad() argument
92 if (edge->setQuadratic(pts, fShiftUp)) { in addQuad()
99 void SkEdgeBuilder::addCubic(const SkPoint pts[]) { in addCubic() argument
101 if (edge->setCubic(pts, fShiftUp)) { in addCubic()
109 SkPoint pts[4]; in addClipper() local
112 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in addClipper()
115 this->addLine(pts); in addClipper()
118 this->addQuad(pts); in addClipper()
121 this->addCubic(pts); in addClipper()
146 SkPoint pts[4]; in buildPoly() local
170 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
179 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight); in buildPoly()
199 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
207 if (edge->setLine(pts[0], pts[1], shiftUp)) { in buildPoly()
227 static void handle_quad(SkEdgeBuilder* builder, const SkPoint pts[3]) { in handle_quad()
229 int n = SkChopQuadAtYExtrema(pts, monoX); in handle_quad()
249 SkPoint pts[4]; in build() local
257 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in build()
266 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight); in build()
273 if (clipper.clipQuad(pts, clip)) { in build()
279 pts, iter.conicWeight(), conicTol); in build()
288 if (clipper.clipCubic(pts, clip)) { in build()
298 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in build()
306 this->addLine(pts); in build()
309 handle_quad(this, pts); in build()
314 pts, iter.conicWeight(), conicTol); in build()
322 int n = SkChopCubicAtYExtrema(pts, monoY); in build()