9 static const int8_t pts[] = {2, 2, 1, 3, 0, 3, 2, 1, 3, 1, 4, 0, 4, 1,
10 5, 1, 4, 2, 4, 3, 2, 5, 2, 4, 3, 3, 2, 3};
12 for (
size_t i = 0;
i <
sizeof(pts) /
sizeof(pts[0]);
i += 2) {
19 paint.setAntiAlias(
true);
33 paint.setColor(0xFF008000);
@ kNormal_SkBlurStyle
fuzzy inside and outside
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
REG_FIDDLE(blur_alpha_img, 256, 256, false, 0)
void allocPixels(const SkImageInfo &info, size_t rowBytes)
sk_sp< SkImage > asImage() const
void drawRect(const SkRect &rect, const SkPaint &paint)
void clear(SkColor color)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
static SkMatrix Scale(SkScalar sx, SkScalar sy)
static sk_sp< SkPathEffect > Make(const SkMatrix &matrix, const SkPath &path)
unsigned useCenter Optional< SkMatrix > matrix
Optional< SkRect > bounds
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
SkSamplingOptions(SkFilterMode::kLinear))
static SkImageInfo MakeA8(int width, int height)