Lines Matching defs:builder
254 SkPathBuilder builder;
256 builder.lineTo(10, 10);
257 auto p1 = builder.snapshot();
259 builder.lineTo(10, 20);
260 auto p2 = builder.snapshot();
269 SkPathBuilder builder;
271 builder.moveTo(pts[0]);
273 builder.lineTo(pts[i]);
276 builder.close();
279 return builder.detach();
327 * either the classic mutable apis, or via SkPathBuilder (SkPath::Polygon uses builder).
341 SkPathBuilder builder;
343 builder.addPolygon(pts, N, isClosed); // new-school way
346 a = builder.detach();