Lines Matching full:path

48     SkPath path;
51 path.cubicTo(111.625f*x, 308.188f*x, 764.62f*x, -435.688f*x, 742.63f*x, 85.187f*x);
52 path.cubicTo(764.62f*x, -435.688f*x, 111.625f*x, 308.188f*x, 0, 0);
54 return path;
59 SkPath path;
64 path.conicTo(111.625f * x, 308.188f * x, 764.62f * x, -435.688f * x, w);
67 return path;
72 SkPath path;
75 path.quadTo(111.625f * x, 308.188f * x, 764.62f * x, -435.688f * x);
77 return path;
82 SkPath path;
85 path.lineTo(764.62f * x, -435.688f * x);
87 return path;
125 #define DEF_PATH_TESS_BENCH(NAME, PATH, MATRIX) \
128 PathTessellateBenchmark_##NAME() : PathTessellateBenchmark(#NAME, (PATH), (MATRIX)) {} \
167 static void benchmark_wangs_formula_cubic_log2(const SkMatrix& matrix, const SkPath& path) {
170 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) {
195 static void benchmark_wangs_formula_conic(const SkMatrix& matrix, const SkPath& path) {
198 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) {
209 static void benchmark_wangs_formula_conic_log2(const SkMatrix& matrix, const SkPath& path) {
212 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) {
260 auto path = SkPath().moveTo(0, 0);
262 path.cubicTo(100, 0, 50, 100, 100, 100);
263 path.cubicTo(0, -100, 200, 100, 0, 0);
268 return {{path, stroke, SK_PMColor4fWHITE}};
279 SkPath path;
284 path.lineTo(rand.nextRangeF(0, 150), rand.nextRangeF(0, 150));
289 auto [x, y] = (path.isEmpty())
291 : SkPathPriv::PointData(path)[path.countPoints() - 1];
292 path.quadTo(x + rand.nextRangeF(0, 150), y, x - rand.nextRangeF(0, 150), y);
294 path.quadTo(rand.nextRangeF(0, 150), rand.nextRangeF(0, 150),
301 float y = (path.isEmpty())
302 ? 0 : SkPathPriv::PointData(path)[path.countPoints() - 1].fY;
303 path.cubicTo(rand.nextRangeF(0, 150), y, rand.nextRangeF(0, 150), y,
306 path.cubicTo(rand.nextRangeF(0, 150), rand.nextRangeF(0, 150),
319 pathStrokes.emplace_back(path, stroke, SK_PMColor4fWHITE);