Lines Matching defs:path

16         SkPath path;
20 path.moveTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000));
22 path.lineTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000));
25 path.close();
28 SkRect classicBounds = path.getBounds();
30 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds));
61 SkPath path;
65 path.moveTo(ran.nextRangeF(1, pathMax), ran.nextRangeF(pathMin, pathMax));
68 path.lineTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax));
70 path.quadTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax),
75 path.close();
78 SkRect classicBounds = path.getBounds();
80 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds));
83 canvas.drawPath(path, paint);
124 SkPath path;
125 path.moveTo(10, 10);
126 path.close();
127 path.moveTo(20, 20);
128 path.lineTo(20, 20);
129 path.close();
130 path.moveTo(15, 15);
131 path.lineTo(15, 15);
132 path.close();
133 const SkRect& bounds = path.getBounds();
135 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
140 SkPath path;
141 path.moveTo(20, 20);
142 const SkRect& bounds = path.getBounds();
144 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
149 SkPath path;
150 path.moveTo(20, 20);
151 path.moveTo(40, 40);
152 const SkRect& bounds = path.getBounds();
154 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
159 SkPath path;
160 path.moveTo(1, 1);
161 path.quadTo(1.000001f, 1, 1, 1);
162 const SkRect& bounds = path.getBounds();
164 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
171 SkPath path;
172 path.moveTo(1, 1);
173 path.quadTo(2, 3, 4, 5);
174 const SkRect& bounds = path.getBounds();
176 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
181 SkPath path;
182 path.moveTo(1, 1);
183 path.quadTo(4, 3, 2, 2);
184 const SkRect& bounds = path.getBounds();
186 REPORTER_ASSERT(reporter, TightBounds(path, &tight));
191 SkPath path;
192 path.moveTo(0, 0);
193 path.quadTo(1048578, 1048577, 1048576, 1048576);
194 const SkRect& bounds = path.getBounds();
196 REPORTER_ASSERT(reporter, TightBounds(path, &tight));