SaveContext
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Push the current graphics context on the context stack. <span style="font-family: Arial;"> </span> <span style="font-f...")
(Created page with "= <span class="f_Header">Action</span> = Push the current graphics context on the context stack. <span style="font-family: Arial;"> </span> <span style="font-f...")
Latest revision as of 22:52, 12 December 2014
Contents |
Action
Push the current graphics context on the context stack.
Syntax
SaveContext
Remarks
Saves the current graphics context Any extra SaveContext will throw away the earliest saved context.
See also
Example
' Pseudocode ' Saving and restoring context means that the second 'G' is drawn in red, instead of blue Begin_G BITMAPS ColorRGB 255, 0, 0 SaveContext ColorRGB 50, 100, 255 Vertex2II 80, 38, 31, &H47 RestoreContext Vertex2II 110, 38, 31, &H47
Languages | English |
---|