8#ifndef SkRasterClip_DEFINED
9#define SkRasterClip_DEFINED
42 bool isBW()
const {
return fIsBW; }
43 bool isAA()
const {
return !fIsBW; }
48 SkASSERT(this->computeIsEmpty() == fIsEmpty);
53 SkASSERT(this->computeIsRect() == fIsRect);
107 bool computeIsEmpty()
const {
111 bool computeIsRect()
const {
115 bool updateCacheAndReturnNonEmpty(
bool detectAARect =
true) {
116 fIsEmpty = this->computeIsEmpty();
119 if (detectAARect && !fIsEmpty && !fIsBW && fAA.
isRect()) {
125 fIsRect = this->computeIsRect();
147 #define AUTO_RASTERCLIP_VALIDATE(rc) SkAutoRasterClipValidate arcv(rc)
149 #define AUTO_RASTERCLIP_VALIDATE(rc)
void init(const SkRasterClip &, SkBlitter *)
const SkRegion & getRgn() const
const SkIRect & getBounds() const
const SkIRect & getBounds() const
bool quickContains(const SkIRect &r) const
SkAutoRasterClipValidate(const SkRasterClip &rc)
~SkAutoRasterClipValidate()
const SkIRect & getBounds() const
const SkAAClip & aaRgn() const
const SkRegion & bwRgn() const
sk_sp< SkShader > clipShader() const
SkRasterClip & operator=(const SkRasterClip &)
void translate(int dx, int dy, SkRasterClip *dst) const
bool quickContains(const SkIRect &rect) const
bool setRect(const SkIRect &)
bool op(const SkIRect &, SkClipOp)
bool quickReject(const SkIRect &rect) const
bool quickContains(const SkIRect &r) const
const SkIRect & getBounds() const
bool setRect(const SkIRect &rect)
unsigned useCenter Optional< SkMatrix > matrix
Optional< SkRect > bounds
sk_sp< SkBlender > blender SkRect rect
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
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
static bool Intersects(const SkIRect &a, const SkIRect &b)