nanovg-0.5.2.0: Haskell bindings for nanovg

Safe HaskellSafe
LanguageHaskell2010

NanoVG.Internal.State

Synopsis

Documentation

save :: Context -> IO () Source #

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

A matching restore must be used to restore the state.

restore :: Context -> IO () Source #

Pops and restores current render state.

reset :: Context -> IO () Source #

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