Lines Matching refs:SkCanvas
11 #include "SkCanvas.h"
74 SkCanvasState(SkCanvas* canvas) {
118 SkCanvas* originalCanvas;
123 class ClipValidator : public SkCanvas::ClipVisitor {
180 SkCanvasState* SkCanvasStateUtils::CaptureCanvasState(SkCanvas* canvas) {
208 for (SkCanvas::LayerIter layer(canvas, true/*skipEmptyClips*/); !layer.done(); layer.next()) {
257 static void setup_canvas_from_MC_state(const SkMCState& state, SkCanvas* canvas) {
278 static SkCanvas* create_canvas_from_canvas_layer(const SkCanvasLayerState& layerState) {
300 SkAutoTUnref<SkCanvas> canvas(SkNEW_ARGS(SkCanvas, (device.get())));
308 SkCanvas* SkCanvasStateUtils::CreateFromCanvasState(const SkCanvasState* state) {
328 SkAutoTUnref<SkCanvas> canvasLayer(create_canvas_from_canvas_layer(state->layers[i]));