comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Quickly Erasing lines on direct graphics images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Quickly Erasing lines on direct graphics images [message #46266 is a reply to message #46265] Sat, 12 November 2005 08:31 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Richard G. French writes:

> I have a Direct Graphics question. How can I quickly erase lines that I have
> drawn in displayed images?

The standard way to do this kind of "quick erasing" is
to use a pixmap and the "Device Copy" technique. This will
be at least a 100 times faster than redrawing your image.
Here is an article that describes the technique:

http://www.dfanning.com/widget_tips/rubberband_regular.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: subscripting arrays with dim > 1
Next Topic: make .dll share image file for CALL_EXTERNAL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:45:13 PDT 2025

Total time taken to generate the page: 0.80585 seconds