[futurebasic] Re: [FB] Bitmap and lock/unlock pixels

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2011 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sun, 1 Jan 2012 10:11:20 +1300
You don't need to lock or unlock. Try these do-nothing replacements.

local fn LockGW( p as ptr )
end fn = _noErr

local fn UnlockGW( p as ptr )
end fn = _noErr


> Further...How is a 1 bit GWorld from FN NewGWorld different from a bitmap from RP's fn NewBitmap? ?

IIRC, a GWorld is a PixMapHandle + various information such as bounds and colour-depth.
A BitMap is a naked 1-bit PixMap.