Flutter Engine
The Flutter Engine
|
#include <SkRasterClip.h>
Public Member Functions | |
SkAAClipBlitterWrapper () | |
SkAAClipBlitterWrapper (const SkRasterClip &, SkBlitter *) | |
SkAAClipBlitterWrapper (const SkAAClip *, SkBlitter *) | |
void | init (const SkRasterClip &, SkBlitter *) |
const SkIRect & | getBounds () const |
const SkRegion & | getRgn () const |
SkBlitter * | getBlitter () |
Encapsulates the logic of deciding if we need to change/wrap the blitter for aaclipping. If so, getRgn and getBlitter return modified values. If not, they return the raw blitter and (bw) clip region.
We need to keep the constructor/destructor cost as small as possible, so we can freely put this on the stack, and not pay too much for the case when we're really BW anyways.
Definition at line 163 of file SkRasterClip.h.
SkAAClipBlitterWrapper::SkAAClipBlitterWrapper | ( | ) |
Definition at line 302 of file SkRasterClip.cpp.
SkAAClipBlitterWrapper::SkAAClipBlitterWrapper | ( | const SkRasterClip & | clip, |
SkBlitter * | blitter | ||
) |
Definition at line 307 of file SkRasterClip.cpp.
Definition at line 312 of file SkRasterClip.cpp.
|
inline |
Definition at line 179 of file SkRasterClip.h.
|
inline |
Definition at line 171 of file SkRasterClip.h.
|
inline |
Definition at line 175 of file SkRasterClip.h.
void SkAAClipBlitterWrapper::init | ( | const SkRasterClip & | clip, |
SkBlitter * | blitter | ||
) |
Definition at line 323 of file SkRasterClip.cpp.