Flutter Engine
The Flutter Engine
|
#include <SkRasterClip.h>
Public Member Functions | |
SkRasterClip () | |
SkRasterClip (const SkIRect &) | |
SkRasterClip (const SkRegion &) | |
SkRasterClip (const SkRasterClip &) | |
SkRasterClip (const SkPath &path, const SkIRect &bounds, bool doAA) | |
~SkRasterClip () | |
SkRasterClip & | operator= (const SkRasterClip &) |
bool | isBW () const |
bool | isAA () const |
const SkRegion & | bwRgn () const |
const SkAAClip & | aaRgn () const |
bool | isEmpty () const |
bool | isRect () const |
bool | isComplex () const |
const SkIRect & | getBounds () const |
bool | setEmpty () |
bool | setRect (const SkIRect &) |
bool | op (const SkIRect &, SkClipOp) |
bool | op (const SkRegion &, SkClipOp) |
bool | op (const SkRect &, const SkMatrix &matrix, SkClipOp, bool doAA) |
bool | op (const SkRRect &, const SkMatrix &matrix, SkClipOp, bool doAA) |
bool | op (const SkPath &, const SkMatrix &matrix, SkClipOp, bool doAA) |
bool | op (sk_sp< SkShader >) |
void | translate (int dx, int dy, SkRasterClip *dst) const |
bool | quickContains (const SkIRect &rect) const |
bool | quickReject (const SkIRect &rect) const |
void | validate () const |
sk_sp< SkShader > | clipShader () const |
Wraps a SkRegion and SkAAClip, so we have a single object that can represent either our BW or antialiased clips.
Definition at line 30 of file SkRasterClip.h.
SkRasterClip::SkRasterClip | ( | ) |
Definition at line 68 of file SkRasterClip.cpp.
|
explicit |
Definition at line 61 of file SkRasterClip.cpp.
|
explicit |
Definition at line 54 of file SkRasterClip.cpp.
|
explicit |
Definition at line 20 of file SkRasterClip.cpp.
Definition at line 75 of file SkRasterClip.cpp.
SkRasterClip::~SkRasterClip | ( | ) |
Definition at line 88 of file SkRasterClip.cpp.
|
inline |
Definition at line 45 of file SkRasterClip.h.
|
inline |
Definition at line 44 of file SkRasterClip.h.
Definition at line 95 of file SkRasterClip.h.
|
inline |
Definition at line 60 of file SkRasterClip.h.
|
inline |
Definition at line 43 of file SkRasterClip.h.
|
inline |
Definition at line 42 of file SkRasterClip.h.
|
inline |
Definition at line 57 of file SkRasterClip.h.
|
inline |
Definition at line 47 of file SkRasterClip.h.
|
inline |
Definition at line 52 of file SkRasterClip.h.
Definition at line 115 of file SkRasterClip.cpp.
Definition at line 185 of file SkRasterClip.cpp.
Definition at line 152 of file SkRasterClip.cpp.
Definition at line 126 of file SkRasterClip.cpp.
Definition at line 181 of file SkRasterClip.cpp.
Definition at line 211 of file SkRasterClip.cpp.
SkRasterClip & SkRasterClip::operator= | ( | const SkRasterClip & | that | ) |
Definition at line 37 of file SkRasterClip.cpp.
|
inline |
Definition at line 76 of file SkRasterClip.h.
|
inline |
Return true if this region is empty, or if the specified rectangle does not intersect the region. Returning false is not a guarantee that they intersect, but returning true is a guarantee that they do not.
Definition at line 85 of file SkRasterClip.h.
bool SkRasterClip::setEmpty | ( | ) |
Definition at line 92 of file SkRasterClip.cpp.
bool SkRasterClip::setRect | ( | const SkIRect & | rect | ) |
Definition at line 103 of file SkRasterClip.cpp.
void SkRasterClip::translate | ( | int | dx, |
int | dy, | ||
SkRasterClip * | dst | ||
) | const |
Definition at line 246 of file SkRasterClip.cpp.
|
inline |
Definition at line 92 of file SkRasterClip.h.