Changes between Version 7 and Version 8 of IconTutorial
- Timestamp:
- Dec 29, 2007, 9:28:48 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IconTutorial
v7 v8 139 139 140 140 [[Image(source:/icon_tutorial/overlay1.png, nolink)]] 141 142 === The commands in detail === 143 144 <ctxt>save/restore<\>:: 145 Save and restore the current paint context. 146 147 The icon engine holds internal data defining the current colors, fonts, angle of rotation etc. Some paint commands alter this information in a global way. To preserve a set state the ''<ctxt>'' command can be used. It stores all the data on a stack and any changes will be reverted when issuing a ''<ctx>restore<\>''.[[BR]] 148 It is save to have several of these commands in a set of commands. Make sure every '''save''' has an associated '''restore'''. 149