Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!adobe!heaven!heaven.woodside.ca.us From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.sys.next Subject: Re: How do you draw lines into the current view for Rubberbanding Message-ID: <507@heaven.woodside.ca.us> Date: 18 May 91 19:22:20 GMT References: <758@rosie.NeXT.COM> Sender: glenn@heaven.woodside.ca.us Lines: 20 Peter King writes > Check out instance drawing. Here's a little snippet of code that does > temporary line drawing in response to a mouse-down method. [ code omitted ] > This causes a little bit of flicker (acceptable when rubber-banding). If you > want to avoid the flicker, then you'd need to do double-buffering with > off-screen windows and compositing. I'll leave this as an exercise for the > reader. I'm curious; why isn't instance drawing implemented to avoid flickering in the manner you suggest? It seems that this would be a better implementation, and just as easy, unless I'm missing something. -- Glenn Reid RightBrain Software glenn@heaven.woodside.ca.us NeXT/PostScript developers ..{adobe,next}!heaven!glenn 415-326-2974 (NeXTfax 326-2977)