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

Home » Public Forums » archive » Re: ERASING a line
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: ERASING a line [message #7161 is a reply to message #7159] Wed, 09 October 1996 00:00 Go to previous messageGo to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Peter Mason (peterm@demsyd.syd.dem.csiro.au) wrote:

: <Lots of good advice about how to draw on displays>

I'd back up Peter's method 2 -- it is reliable (you get control over the
color of the line(s)), and certainly fast enough (many 10's of redraws
per second, if you want). I've always taken the simple route of copying
the entire window to a pixmap and back (especially if you are drawing
boxes or more complex shapes rather than lines), and I've found that
using normal co-ordinates is 100% reliable and results in short, easy to
read code. If you'd like a copy of a box_cursor routine that uses this
method, let me know.

Peter

--------------------------------
Peter Webb, HP Labs Medical Dept
E-Mail: peter_webb@hpl.hp.com
Phone: (415) 813-3756
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Filters
Next Topic: SPEED UP

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

Current Time: Wed Oct 08 19:40:28 PDT 2025

Total time taken to generate the page: 0.00423 seconds