Eric
How about drawing the picture into an offscreen G-world and then COPYBITSing it
into your window during the update event? There should be examples on Staz's
site, as well as the list archive site. Also, PG has a filter (GRFX.FLTR) that
has the routines to build and dispose of both BWorlds and GWorlds, as well as a
slightly easier to use copyBits FN.
hth
Chris Young
______________________________ Reply Separator _________________________________
Subject: [FB] Pictures
Author: parks@...
Date: 9/1/98 6:06 AM
I have a program that draws say 300 overlaping filled circles (representing
a cluster of atoms) in a window. I first use the PICTURE ON and PICTURE OFF
to recored the graphics and later display the picture in a refresh event.
When displaying the picture, many of the filled circles are drawn over by
other filled circles and hence wastes time, since roughly half of the
circles are not seen in the final image (they are in the back of the
cluster). To speed things up I would like to draw the picture once and then
display the final image on the screen without redrawing all the filled
circles again with the PICTURE statement. Can anyone point me in the right
direction to do this.
Eric Parks
Argonne National Lab
Argonne IL 60439
--
To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
Attachments: