19 paint.setAntiAlias(
true);
23 const float widths[] = { 0.9f, 1.0f, 1.1f };
30 path.moveTo(-1000,12345678901234567890.f);
31 path.lineTo(10.5f,200);
35 path.moveTo(30.5f,400);
36 path.lineTo(1000,-9.8765432109876543210e+19f);
39 canvas->translate(3, 0);
48 auto can = surf->getCanvas();
60 canvas->
drawImage(surf->makeImageSnapshot(), 64 -
w, 0);
68 paint.setAntiAlias(
true);
73 canvas->
drawImage(surf->makeImageSnapshot(), 64 -
w, 0);
80 canvas->translate(0, 80);
86 canvas->translate(0, 80);
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void translate(SkScalar dx, SkScalar dy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
@ kStroke_Style
set to stroke geometry
static void draw_huge_path(SkCanvas *canvas, int w, int h, bool manual)
DEF_SIMPLE_GM(path_huge_crbug_800804, canvas, 50, 600)
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
void DrawImage(SkCanvas *canvas, const SkImage *image, SkScalar x, SkScalar y, const SkSamplingOptions &sampling={}, const SkPaint *paint=nullptr, SkCanvas::SrcRectConstraint constraint=SkCanvas::kFast_SrcRectConstraint)
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
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)