diff options
Diffstat (limited to 'src/pathops/SkPathOpsCurve.h')
-rw-r--r-- | src/pathops/SkPathOpsCurve.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pathops/SkPathOpsCurve.h b/src/pathops/SkPathOpsCurve.h index ca68a664e6..5d12cb811a 100644 --- a/src/pathops/SkPathOpsCurve.h +++ b/src/pathops/SkPathOpsCurve.h @@ -14,19 +14,19 @@ static SkDPoint dline_xy_at_t(const SkPoint a[2], double t) { SkDLine line; line.set(a); - return line.xyAtT(t); + return line.ptAtT(t); } static SkDPoint dquad_xy_at_t(const SkPoint a[3], double t) { SkDQuad quad; quad.set(a); - return quad.xyAtT(t); + return quad.ptAtT(t); } static SkDPoint dcubic_xy_at_t(const SkPoint a[4], double t) { SkDCubic cubic; cubic.set(a); - return cubic.xyAtT(t); + return cubic.ptAtT(t); } static SkDPoint (* const CurveDPointAtT[])(const SkPoint[], double ) = { @@ -123,7 +123,7 @@ static SkPoint (* const CurveTop[])(const SkPoint[], double , double ) = { static bool line_is_vertical(const SkPoint a[2], double startT, double endT) { SkDLine line; line.set(a); - SkDPoint dst[2] = { line.xyAtT(startT), line.xyAtT(endT) }; + SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; return AlmostEqualUlps(dst[0].fX, dst[1].fX); } |