Version: |
1.2 |
Description: |
Forces the current entity to be drawn in XOR mode thus enabling a rubberband effect. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCDrawCurrentEntityXOR(short* iError); |
Delphi |
procedure VCDrawCurrentEntityXOR(var iError: Smallint); stdcall; |
ActiveX/COM |
Sub DrawCurrentEntityXOR() |
Parameters: |
No additional parameters are used with this subroutine. |
Notes: |
When making tools that provide a rubberbanding preview of what the construction will look like, a means by which to create this dynamic feedback is needed. An entity can be added to the drawing database and edited according to mouse movements. After each of these updates the entity must be redrawn using VCDrawCurrentEntityXOR so the old image will be removed and be replaced with the updated image. |
See Also: |