[futurebasic] Re: [FB] Slow QuickDraw

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: "Phil Yates" <pyates@...>
Date: Sat, 30 Jan 1999 23:20:44 +0000
> 
> I have a couple of questions about Quickdraw.
> They go on- and off-  FB topic.
> I'm drawing a world map from a handle containing 1311 polygons (polylines
> mostly) defining most of the continents, islands, countries, states etc.
> It takes FB or the compiled app. about 2 seconds on an 8600/250 or a
> 7300/200 to draw the while thing.  Its about 264kB of data.
> No Gworld/copybits here - just straight to the screen. I'm using OS
> 8.5.1/8.1.1
> This seems inordinately slow to me. You can see the more lengthy lines
> drawing.
> This is the code:

snip .

I draw coastline / rivers etc as part of the Simulation stuff I do. With a
PPC 7300 / 200, I can draw about 10,000 lines in about 1/10th of a second.
On a G3 - blip - it's there.

The trick is to draw the co-ordinates off-line into a PICT resource, and
then save it away. And then draw the PICT resource to the screen.
Easy-Peasy.

But you will need a bit more code than you've currently got ...

Phil.