Function:ds2protect
From S2PLOT
(Difference between revisions)
Revision as of 03:27, 10 March 2008
ds2protect
Protect/unprotect dynamic geometry.
Prototype
void ds2protect(void);
Description
Protect / unprotect the dynamic geometry, in order reduce the amount of geometry to call each refresh cycle. Typically use this by setting ds2protect() at the end of your standard dynamic callback, then call ds2unprotect() if key presses / events processed by other callbacks will result in a changed geometry state. Use with caution ... incorrect use can result in TMC: total memory consumption.
See Also
s2open | . |
Code Example
Back to S2PLOT function list.