Home | History | Annotate | Download | only in core

Lines Matching defs:pts

25 void SkEdgeBuilder::addLine(const SkPoint pts[]) {
27 if (edge->setLine(pts[0], pts[1], fShiftUp)) {
34 void SkEdgeBuilder::addQuad(const SkPoint pts[]) {
36 if (edge->setQuadratic(pts, fShiftUp)) {
43 void SkEdgeBuilder::addCubic(const SkPoint pts[]) {
45 if (edge->setCubic(pts, fShiftUp)) {
53 SkPoint pts[4];
56 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) {
59 this->addLine(pts);
62 this->addQuad(pts);
65 this->addCubic(pts);
85 SkPoint pts[4];
109 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
118 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight);
133 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
141 if (edge->setLine(pts[0], pts[1], shiftUp)) {
156 static void handle_quad(SkEdgeBuilder* builder, const SkPoint pts[3]) {
158 int n = SkChopQuadAtYExtrema(pts, monoX);
178 SkPoint pts[4];
186 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
195 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight);
202 if (clipper.clipQuad(pts, clip)) {
208 pts, iter.conicWeight(), conicTol);
217 if (clipper.clipCubic(pts, clip)) {
227 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
235 this->addLine(pts);
238 handle_quad(this, pts);
243 pts, iter.conicWeight(), conicTol);
251 int n = SkChopCubicAtYExtrema(pts, monoY);