31 paint.setAntiAlias(
true);
47 paint.setAntiAlias(
true);
constexpr SkColor SK_ColorTRANSPARENT
constexpr SkColor SK_ColorRED
void drawPath(const SkPath &path, const SkPaint &paint)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
DEF_SIMPLE_GM(fatpathfill, canvas, SMALL_W *ZOOM, SMALL_H *ZOOM *REPEAT_LOOP)
static sk_sp< SkSurface > new_surface(int width, int height)
static void draw_fatpath(SkCanvas *canvas, SkSurface *surface, const SkPath &path)
static void draw_pixel_centers(SkCanvas *canvas)
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
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
SK_API bool FillPathWithPaint(const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, SkScalar resScale=1)
static SkImageInfo MakeN32Premul(int width, int height)