[futurebasic] COPYBITS question

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

From: Sylvain Guillemette <allmedia@...>
Date: Wed, 21 Apr 1999 03:04:30 -0500

I'm experimenting a lot with GWorlds and while browsing InsideMac, i've found
the following statement that i really don't understand:

If you use CopyBits to copy between two graphics ports that overlap, you
must first
use the LocalToGlobal procedure to convert to global coordinates, and then
the global variable screenBits for both the srcBits and dstBits parameters.

GWorlds always overlap ?  no ?

GWorld 1 Rect = 0,0,300,300
GWorld 2 Rect = 0,0,200,400

Should i dispose my offscreens in global coordinates one over the other
instead ?

Could someone shed some light on this please.

Derek? Jonathan ? Rick ?



OH!, also, why do i need to add 2 to the destPort and srcPort in copybits ?