Lines Matching refs:conic
19 ConicPts conic; member
34 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect() argument
46 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect()
55 result = intersections.horizontal(conic, left, right, line[0].fY, flipped); in doIntersect()
57 intersections.intersect(conic, line); in doIntersect()
64 ConicPts conic; member
76 const ConicPts& c = oneOffs[index].conic; in testOneOffs()
77 SkDConic conic; in testOneOffs() local
78 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
79 SkASSERT(ValidConic(conic)); in testOneOffs()
83 int result = doIntersect(intersections, conic, line, flipped); in testOneOffs()
86 SkDPoint conicXY = conic.ptAtT(conicT); in testOneOffs()
105 const ConicPts& c = lineConicTests[index].conic; in DEF_TEST()
106 SkDConic conic; in DEF_TEST() local
107 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
108 SkASSERT(ValidConic(conic)); in DEF_TEST()
112 SkPoint pts[3] = { conic.fPts.fPts[0].asSkPoint(), conic.fPts.fPts[1].asSkPoint(), in DEF_TEST()
113 conic.fPts.fPts[2].asSkPoint() }; in DEF_TEST()
116 floatConic.set(pts, conic.fWeight); in DEF_TEST()
129 int result = doIntersect(intersections, conic, line, flipped); in DEF_TEST()
137 SkDPoint t1 = conic.ptAtT(tt1); in DEF_TEST()