Version: |
5.0 |
Description: |
Moves the selected entit(ies) in the draw order list so that it draws immediately before a reference entity |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCDrawSelectedBefore(short* iError, ENTITYHANDLE eRef); |
Delphi |
procedure VCDrawSelectedBefore(var iError: Smallint; eRef: Smallint); stdcall; |
ActiveX/COM |
Sub DrawSelectedBefore(ByVal eRef As Long) |
Parameters: |
eRef - Handle of the reference entity to draw before |
Return Value: |
none |
iError Code: |
0 - Success |
Notes: |
VCADD's draw order is maintained as a linked list of entity handles. The draw order list is parsed from beginning to end and the entities are drawn in the order that their handles are encountered in the list. The first entity in the list is drawn first and the last entity is drawn last. The draw order can be manipulated by changing an entity's position in the draw order list. |
See Also: |
VCDrawCurrentEntityFirst, VCDrawCurrentEntityLast, VCDrawCurrentEntityAfter, VCDrawCurrentEntityBefore, VCDrawSelectedFirst, VCDrawSelectedLast, VCDrawSelectedAfter, VCGetDrawOrdinal, VCGetDrawList |