>  Docs Center  >  IDL Reference  >  Object Graphics - Destination  >  IDLgrBuffer::Draw



The IDLgrBuffer::Draw procedure method draws the given picture 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.


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



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.



Set this keyword equal to one to 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.


Set this keyword to specify that the instance, or unchanging part of the drawing, is drawn to the device first. IDL then draws the changing part of the drawing, indicated by the scene, view or viewgroup specified by the Picture argument.

If the value of this keyword is 1, IDL copies both the instance image (color buffer) and the instance depth buffer to the device.

If the value of this keyword is 2, IDL copies only the instance image to the device.

Version History



© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us