Index: src/pathops/SkDQuadLineIntersection.cpp |
=================================================================== |
--- src/pathops/SkDQuadLineIntersection.cpp (revision 9040) |
+++ src/pathops/SkDQuadLineIntersection.cpp (working copy) |
@@ -329,5 +329,9 @@ |
int SkIntersections::intersectRay(const SkDQuad& quad, const SkDLine& line) { |
LineQuadraticIntersections q(quad, line, this); |
- return q.intersectRay(fT[0]); |
+ fUsed = q.intersectRay(fT[0]); |
+ for (int index = 0; index < fUsed; ++index) { |
+ fPt[index] = quad.xyAtT(fT[0][index]); |
+ } |
+ return fUsed; |
} |