Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

IDLgrWindow::Draw


Syntax | Arguments | Keywords | Version History

The IDLgrWindow::Draw procedure method draws the specified scene or view object to this graphics destination.

Note
Objects are drawn to the destination device in the order that they are added to the model, view, viewgroup, or scene object that contains them.

Syntax

Obj->[IDLgrWindow::]Draw [, Picture] [, CREATE_INSTANCE={1 | 2}] [, /DRAW_INSTANCE]

Arguments

Picture

The view (an instance of an IDLgrView object), viewgroup (an instance of an IDLgrViewgroup object), or scene (an instance of an IDLgrScene object) to be drawn. If Picture is not supplied, the graphics hierarchy specified by the GRAPHICS_TREE property of the IDLgrWindow object will be drawn, if it exists. If neither the Picture argument or the GRAPHICS_TREE property are specified, nothing is drawn.

Keywords

CREATE_INSTANCE

Set this keyword equal to one specify that this scene or view is the unchanging part of a drawing. Some destinations can make an instance from the current window contents without having to perform a complete redraw. If the view or scene to be drawn is identical to the previously drawn view or scene, this keyword can be set equal to 2 to hint the destination to create the instance from the current window contents if it can.

DRAW_INSTANCE

Set this keyword to specify that this scene or view is the changing part of a drawing. It is overlaid on the result of the most recent CREATE_INSTANCE draw.

Version History

Introduced: 5.0


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]