PushDrawState
Category: Images and Rendering
Signature
PushDrawState()
Returns
Void
Description
Saves the current drawing offset, rotation, active target and its clip region, draw and text colors, text alignment, and default blend and scale modes.
The native stack holds up to 64 states. A push made while the stack is full has no effect.
Example
PushDrawState
SetDrawOffset 200, 120
SetDrawRotation 30
DrawImage image, 0, 0
PopDrawState