← Documentation Home

PopDrawState

Category: Images and Rendering

Back to System Functions


Signature

PopDrawState()

Returns

Void

Description

Restores the most recently pushed drawing state and removes it from the stack. Calling this function with an empty stack has no effect.

The restored clip is the clip belonging to the target that was active when the state was pushed.

Example

PushDrawState SetDrawOffset 80, 40 DrawText font, 0, 0, "Offset text" PopDrawState