Lines Matching refs:state
32 * Captures the current state of the canvas into an opaque ptr that is safe
40 * canvases that have been created using its captured state have been dereferenced.
45 * @param canvas The canvas you wish to capture the current state of.
48 * ReleaseCanvasState to free the memory associated with this state.
53 * Create a new SkCanvas from the captured state of another SkCanvas. The
56 * 1) the captured state is in an unrecognized format
59 * @param canvas The canvas you wish to capture the current state of.
60 * @return NULL or an SkCanvas* whose devices and matrix/clip state are
64 SK_API SkCanvas* CreateFromCanvasState(const SkCanvasState* state);
67 * Free the memory associated with the captured canvas state. The state
69 * state have been dereferenced.
71 * @param state The captured state you wish to dispose of.
73 SK_API void ReleaseCanvasState(SkCanvasState* state);