Function:ds2protect

From S2PLOT

Revision as of 03:29, 10 March 2008; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

ds2protect

Protect dynamic geometry.

Prototype

void ds2protect(void);

Description

Protect 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

ds2protectProtect dynamic geometry.
ds2unprotectUnprotect the dynamic geometry.
ds2isprotectedQuery state of dynamic geometry protection.

Code Example

Back to S2PLOT function list.


Personal tools