Home | History | Annotate | Download | only in utils

Lines Matching refs:state

16  * A set of functions that are useful for copying the state of an SkCanvas
33 * Captures the current state of the canvas into an opaque ptr that is safe
41 * canvases that have been created using its captured state have been dereferenced.
46 * @param canvas The canvas you wish to capture the current state of.
49 * ReleaseCanvasState to free the memory associated with this state.
54 * Create a new SkCanvas from the captured state of another SkCanvas. The
57 * 1) the captured state is in an unrecognized format
60 * @param state Opaque object created by CaptureCanvasState.
61 * @return NULL or an SkCanvas* whose devices and matrix/clip state are
65 static std::unique_ptr<SkCanvas> MakeFromCanvasState(const SkCanvasState* state);
68 * Free the memory associated with the captured canvas state. The state
70 * state have been dereferenced. Must be called from the same library
71 * instance that created the state via CaptureCanvasState.
73 * @param state The captured state you wish to dispose of.
75 static void ReleaseCanvasState(SkCanvasState* state);