8#ifndef SkAAClip_DEFINED
9#define SkAAClip_DEFINED
33 bool isEmpty()
const {
return nullptr == fRunHead; }
63 void debug(
bool compress_y=
false)
const;
66 void debug(
bool compress_y=
false)
const {}
86 const uint8_t* findRow(
int y,
int* lastYForRow =
nullptr)
const;
87 const uint8_t* findX(
const uint8_t
data[],
int x,
int* initialCount =
nullptr)
const;
123 void* fScanlineScratch;
125 void ensureRunsAndAA();
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
void init(SkBlitter *blitter, const SkAAClip *aaclip)
void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override
void blitRect(int x, int y, int width, int height) override
Blit a solid rectangle one or more pixels wide.
void blitH(int x, int y, int width) override
Blit a horizontal run of one or more pixels.
~SkAAClipBlitter() override
void blitMask(const SkMask &, const SkIRect &clip) override
void blitV(int x, int y, int height, SkAlpha alpha) override
Blit a vertical run of pixels with a constant alpha value.
void debug(bool compress_y=false) const
SkAAClip & operator=(const SkAAClip &)
bool setRect(const SkIRect &)
bool translate(int dx, int dy, SkAAClip *dst) const
const SkIRect & getBounds() const
bool setPath(const SkPath &, const SkIRect &bounds, bool doAA=true)
bool op(const SkIRect &, SkClipOp)
void copyToMask(SkMaskBuilder *) const
bool quickContains(const SkIRect &r) const
bool setRegion(const SkRegion &)
Optional< SkRect > bounds
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
DlVertices::Builder Builder
int32_t fBottom
larger y-axis bounds
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds
std::shared_ptr< const fml::Mapping > data