Re: Drawind IDL Object graphics ??? [message #39454] |
Mon, 17 May 2004 11:30 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"Antonio Santiago" wrote...
>
> Are there a way to draw only certain object inside an IDLgrWindow.
> That is, if i have a IDLgrView, with two IDLgrModels, both with some
> object (surface, images, etc), and if only one object has been modified,
> can i specify that only that object will be re-drawn? or i must to redaw
> all de IDLgrWindow and IDLgrView?
I haven't played with this much but you can use instancing to do this. You
will need to place your two models in separate views, then manipulate the
CREATE_INSTANCE and DRAW_INSTANCE keywords to IDLgrView::Draw appropriately.
Note that "Some destinations can make an instance from the current window
contents without having to perform a complete redraw." Obviously then some
can't. But my guess is that the devices that can't are devices that you
wouldn't want to anyway like the printer or clipboard.
-Rick
|
|
|