Home | History | Annotate | Download | only in Intersection

Lines Matching full:quads

9     SkTDArray<Quadratic> quads;
13 (void) cubic_to_quadratics(cubic, precision, quads);
14 if (quads.count() != 1) {
16 quads.count());
22 SkTDArray<Quadratic> quads;
28 (void) cubic_to_quadratics(cubic, precision, quads);
29 if (quads.count() != 1) {
31 quads.count());
37 SkTDArray<Quadratic> quads;
42 int order = cubic_to_quadratics(cubic, precision, quads);
47 if (!AlmostEqualUlps(cubic[0].x, quads[0][0].x)
48 || !AlmostEqualUlps(cubic[0].y, quads[0][0].y)) {
51 int last = quads.count() - 1;
52 if (!AlmostEqualUlps(cubic[3].x, quads[last][2].x)
53 || !AlmostEqualUlps(cubic[3].y, quads[last][2].y)) {
60 SkTDArray<Quadratic> quads;
65 int order = cubic_to_quadratics(cubic, precision, quads);
70 if (!AlmostEqualUlps(cubic[0].x, quads[0][0].x)
71 || !AlmostEqualUlps(cubic[0].y, quads[0][0].y)) {
74 int last = quads.count() - 1;
75 if (!AlmostEqualUlps(cubic[3].x, quads[last][2].x)
76 || !AlmostEqualUlps(cubic[3].y, quads[last][2].y)) {
166 SkTDArray<Quadratic> quads;
168 (void) cubic_to_quadratics(cubic, precision, quads);
169 SkDebugf("%s quads=%d\n", __FUNCTION__, quads.count());
204 SkTDArray<Quadratic> quads;
206 (void) cubic_to_quadratics(cubic, precision, quads);
207 int count = quads.count();
237 SkTDArray<Quadratic> quads;
239 (void) cubic_to_quadratics(cubic, precision, quads);
240 for (int z = 0; z < quads.count(); ++z) {
241 const Quadratic& quad = quads[z];