Home
last modified time | relevance | path

Searched refs:canvasState (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/utils/
DSkCanvasStateUtils.cpp168 std::unique_ptr<SkCanvasState_v1> canvasState(new SkCanvasState_v1(canvas)); in CaptureCanvasState() local
170 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()
/external/skia/src/utils/
DSkCanvasStateUtils.cpp168 std::unique_ptr<SkCanvasState_v1> canvasState(new SkCanvasState_v1(canvas)); in CaptureCanvasState() local
170 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()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java418 int canvasState = canvas.save(); in drawTickText() local
447 canvas.restoreToCount(canvasState); in drawTickText()