SkCanvas::LayerIter Class Reference
#include <SkCanvas.h>
List of all members.
Detailed Description
After calling saveLayer(), there can be any number of devices that make up the top-most drawing area. LayerIter can be used to iterate through those devices. Note that the iterator is only valid until the next API call made on the canvas. Ownership of all pointers in the iterator stays with the canvas, so none of them should be modified or deleted.
Definition at line 697 of file SkCanvas.h.
Constructor & Destructor Documentation
SkCanvas::LayerIter::LayerIter |
( |
SkCanvas * |
, |
|
|
bool |
skipEmptyClips | |
|
) |
| | |
Initialize iterator with canvas, and set values for 1st device
SkCanvas::LayerIter::~LayerIter |
( |
|
) |
|
Member Function Documentation
const SkRegion& SkCanvas::LayerIter::clip |
( |
|
) |
const |
SkDevice* SkCanvas::LayerIter::device |
( |
|
) |
const |
bool SkCanvas::LayerIter::done |
( |
|
) |
const [inline] |
Return true if the iterator is done
Definition at line 704 of file SkCanvas.h.
const SkMatrix& SkCanvas::LayerIter::matrix |
( |
|
) |
const |
void SkCanvas::LayerIter::next |
( |
|
) |
|
const SkPaint& SkCanvas::LayerIter::paint |
( |
|
) |
const |
int SkCanvas::LayerIter::x |
( |
|
) |
const |
int SkCanvas::LayerIter::y |
( |
|
) |
const |
The documentation for this class was generated from the following file: