61 SkPath().lineTo(10,0).lineTo(10,10),
62 SkPath().cubicTo(10,0, 10,0, 10,10));
66 SkPath().lineTo(0,-10).lineTo(0,10),
67 SkPath().cubicTo(0,-10, 0,-10, 0,10));
71 SkPath().lineTo(0,-10).lineTo(10,-10).lineTo(10,10).lineTo(0,10),
72 SkPath().cubicTo(0,-10, 10,10, 0,10));
76 SkPath().lineTo(0,-10).lineTo(10,-10).lineTo(10,0).lineTo(0,0),
77 SkPath().cubicTo(0,-10, 10,0, 0,0));
constexpr SkColor SK_ColorBLACK
void translate(SkScalar dx, SkScalar dy)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
void setStyle(Style style)
void setColor(SkColor color)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
void setStrokeJoin(Join join)
@ kMiter_Join
extends to miter limit
@ kBevel_Join
connects outside edges
void setStrokeWidth(SkScalar width)
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
DEF_SIMPLE_GM(widebuttcaps, canvas, kTestWidth, kTestHeight)
static void draw_strokes(SkCanvas *canvas, SkRandom *rand, const SkPath &path, const SkPath &cubic)
static constexpr float kStrokeWidth
static constexpr int kTestHeight
static constexpr int kTestWidth
static void draw_test(SkCanvas *canvas)