4 {
8 const char* verbStr[] = { "Move", "Line", "Quad", "Conic", "Cubic", "Close", "Done" };
9 const int pointCount[] = { 1 , 2 , 3 , 3 , 4 , 1 , 0 };
11 do {
14 SkDebugf(
"k%s_Verb ", verbStr[(
int) verb]);
15 for (
int i = 0;
i < pointCount[(
int) verb]; ++
i) {
17 }
19 SkDebugf(
"weight = %g", iter.conicWeight());
20 }
24 };
26 path.quadTo(10, 20, 30, 40);
28 debugster("quad open", iter);
31 iter.setPath(
path2,
true);
32 debugster("conic closed", iter);
33}
34}
static const int points[]
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
SkPath & conicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path