Searched refs:canvasState (Results 1 – 3 of 3) sorted by relevance
168 std::unique_ptr<SkCanvasState_v1> canvasState(new SkCanvasState_v1(canvas)); in CaptureCanvasState() local170 setup_MC_state(&canvasState->mcState, canvas->getTotalMatrix(), canvas->getDeviceClipBounds()); in CaptureCanvasState()216 canvasState->layerCount = layerCount; in CaptureCanvasState()217 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()218 layerWriter.flatten(canvasState->layers); in CaptureCanvasState()220 return canvasState.release(); in CaptureCanvasState()
418 int canvasState = canvas.save(); in drawTickText() local447 canvas.restoreToCount(canvasState); in drawTickText()