Definition at line 246 of file SkAAClip.cpp.
◆ Builder()
SkAAClip::Builder::Builder |
( |
const SkIRect & |
bounds | ) |
|
|
inline |
Definition at line 262 of file SkAAClip.cpp.
262 : fBounds(bounds) {
263 fPrevY = -1;
265 fCurrRow = nullptr;
267 }
Optional< SkRect > bounds
◆ ~Builder()
SkAAClip::Builder::~Builder |
( |
| ) |
|
|
inline |
Definition at line 269 of file SkAAClip.cpp.
269 {
270 Row* row = fRows.
begin();
271 Row* stop = fRows.
end();
272 while (row < stop) {
273 delete row->fData;
274 row += 1;
275 }
276 }
◆ applyClipOp()
Definition at line 830 of file SkAAClip.cpp.
830 {
832 return this->finish(
target);
833}
bool op(const SkIRect &, SkClipOp)
◆ blitPath()
bool SkAAClip::Builder::blitPath |
( |
SkAAClip * |
target, |
|
|
const SkPath & |
path, |
|
|
bool |
doAA |
|
) |
| |
Definition at line 835 of file SkAAClip.cpp.
835 {
836 Blitter blitter(this);
838
839 if (doAA) {
841 } else {
843 }
844
845 blitter.finish();
846 return this->finish(
target);
847}
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
static void AntiFillPath(const SkPath &, const SkRasterClip &, SkBlitter *)
static void FillPath(const SkPath &, const SkIRect &, SkBlitter *)
The documentation for this class was generated from the following file: