nanovg-0.2.0.0: Haskell bindings for nanovg

Safe HaskellSafe
LanguageHaskell2010

NanoVG.Internal.State

Synopsis

Documentation

save :: Context -> IO ()

Pushes and saves the current render state into a state stack.

A matching restore must be used to restore the state.

restore :: Context -> IO ()

Pops and restores current render state.

reset :: Context -> IO ()

Resets current render state to default values. Does not affect the render state stack.

save'_ :: Context -> IO ()

reset'_ :: Context -> IO ()