Lines Matching defs:pts
44 SkOpSegment* addConic(SkPoint pts[3], SkScalar weight, SkOpContour* parent) {
45 init(pts, weight, parent, SkPath::kConic_Verb);
47 curve.fConic.set(pts, weight);
48 curve.setConicBounds(pts, weight, 0, 1, &fBounds);
52 SkOpSegment* addCubic(SkPoint pts[4], SkOpContour* parent) {
53 init(pts, 1, parent, SkPath::kCubic_Verb);
55 curve.fCubic.set(pts);
56 curve.setCubicBounds(pts, 1, 0, 1, &fBounds);
71 SkOpSegment* addLine(SkPoint pts[2], SkOpContour* parent) {
72 SkASSERT(pts[0] != pts[1]);
73 init(pts, 1, parent, SkPath::kLine_Verb);
74 fBounds.setBounds(pts, 2);
87 SkOpSegment* addQuad(SkPoint pts[3], SkOpContour* parent) {
88 init(pts, 1, parent, SkPath::kQuad_Verb);
90 curve.fQuad.set(pts);
91 curve.setQuadBounds(pts, 1, 0, 1, &fBounds);
231 void init(SkPoint pts[], SkScalar weight, SkOpContour* parent, SkPath::Verb verb);
316 const SkPoint* pts() const {