Function:ds2protect

From S2PLOT

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:29, 10 March 2008
S2plot admin (Talk | contribs)

← Previous diff
Revision as of 03:31, 10 March 2008
S2plot admin (Talk | contribs)

Next diff →
Line 13: Line 13:
== See Also == == See Also ==
<table> <table>
-<tr><td>[[Function:ds2protect | ds2protect]]</td><td>Protect dynamic geometry.</td></tr> 
<tr><td>[[Function:ds2unprotect | ds2unprotect]]</td><td>Unprotect the dynamic geometry.</td></tr> <tr><td>[[Function:ds2unprotect | ds2unprotect]]</td><td>Unprotect the dynamic geometry.</td></tr>
<tr><td>[[Function:ds2isprotected | ds2isprotected]]</td><td>Query state of dynamic geometry protection. </td></tr> <tr><td>[[Function:ds2isprotected | ds2isprotected]]</td><td>Query state of dynamic geometry protection. </td></tr>

Revision as of 03:31, 10 March 2008

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

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

Code Example

Back to S2PLOT function list.


Personal tools