Home | History | Annotate | Download | only in core

Lines Matching refs:p2

199     static bool IsLineDegenerate(const SkPoint& p1, const SkPoint& p2) {
200 return p1.equalsWithinTolerance(p2);
207 static bool IsQuadDegenerate(const SkPoint& p1, const SkPoint& p2,
209 return p1.equalsWithinTolerance(p2) &&
210 p2.equalsWithinTolerance(p3);
217 static bool IsCubicDegenerate(const SkPoint& p1, const SkPoint& p2,
219 return p1.equalsWithinTolerance(p2) &&
220 p2.equalsWithinTolerance(p3) &&
384 p1, and ending at p2. If no moveTo() call has been made for this
388 @param p2 The end point on a quadratic curve
390 void quadTo(const SkPoint& p1, const SkPoint& p2) {
391 this->quadTo(p1.fX, p1.fY, p2.fX, p2.fY);
411 void conicTo(const SkPoint& p1, const SkPoint& p2, SkScalar w) {
412 this->conicTo(p1.fX, p1.fY, p2.fX, p2.fY, w);
432 and p2, and ending at p3. If no moveTo() call has been made for this
436 @param p2 The 2nd control point on a cubic curve
439 void cubicTo(const SkPoint& p1, const SkPoint& p2, const SkPoint& p3) {
440 p2.fX, p2.fY, p3.fX, p3.fY);
487 void arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) {
488 this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius);