6 SkPoint pts[] = {{ 10, 50 }, { 110, 80 }, { 10, 110 }};
7 SkVector v[] = { pts[0] - pts[1], pts[2] - pts[1] };
18 paint.setAntiAlias(
true);
20 paint.setStrokeMiter(miterLimit);
23 paint.setStrokeWidth(1);
24 canvas->
drawLine(pts[1].fX - miterLength / 2, pts[1].fY + 50,
25 pts[1].fX + miterLength / 2, pts[1].fY + 50,
paint);
28 paint.setStrokeMiter(miterLimit);
31 paint.setStrokeWidth(1);
32 canvas->
drawLine(pts[1].fX - miterLength / 2, pts[1].fY + 50,
33 pts[1].fX + miterLength / 2, pts[1].fY + 50,
paint);
static const int strokeWidth
REG_FIDDLE(Miter_Limit, 384, 170, false, 0)
#define SkScalarATan2(y, x)
#define SkScalarSin(radians)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
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