Home | History | Annotate | Download | only in core

Lines Matching refs: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, NULL, 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);
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);
177 SkPoint pts[4];
185 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
194 int lineCount = SkLineClipper::ClipLine(pts, clip, lines);
201 if (clipper.clipQuad(pts, clip)) {
212 conic.set(pts, iter.conicWeight());
224 if (clipper.clipCubic(pts, clip)) {
234 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
242 this->addLine(pts);
245 handle_quad(this, pts);
255 conic.set(pts, iter.conicWeight());
266 int n = SkChopCubicAtYExtrema(pts, monoY);