4 {
15
18 subset, clipBounds, &outSubset, &
offset);
19 } else {
21 subset, clipBounds, &outSubset, &
offset);
22 }
23
25 paint.setAntiAlias(
true);
31}
32}
constexpr SkColor SK_ColorBLUE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
virtual GrRecordingContext * recordingContext() const
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static sk_sp< SkImageFilter > DropShadow(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
static sk_sp< SkImageFilter > Offset(SkScalar dx, SkScalar dy, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
@ kStroke_Style
set to stroke geometry
SK_API sk_sp< SkImage > MakeWithFilter(sk_sp< SkImage > src, const SkImageFilter *filter, const SkIRect &subset, const SkIRect &clipBounds, SkIRect *outSubset, SkIPoint *offset)
sk_sp< const SkImage > image
def filtered(names, to_skip)
void outset(int32_t dx, int32_t dy)
static SkRect Make(const SkISize &size)