8#ifndef GrSWMaskHelper_DEFINED
9#define GrSWMaskHelper_DEFINED
42 : fPixels(pixels ? pixels : &fPixelsStorage) { }
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
void drawRect(const SkRect &rect, const SkMatrix &matrix, GrAA, uint8_t alpha)
void drawRRect(const SkRRect &rrect, const SkMatrix &matrix, GrAA, uint8_t alpha)
void drawShape(const GrStyledShape &, const SkMatrix &matrix, GrAA, uint8_t alpha)
GrSWMaskHelper(SkAutoPixmapStorage *pixels=nullptr)
void clear(uint8_t alpha)
bool init(const SkIRect &resultBounds)
GrSurfaceProxyView toTextureView(GrRecordingContext *, SkBackingFit fit)
bool erase(SkColor color, const SkIRect &subset) const
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect