All Databases
Inside Mac - Basic Toolbox
UnlockPixels
InitGDevice
SetGDevice
DisposGDevice
GetDeviceList
GetMainDevice
NewGDevice
SetDeviceAttribute
GetMaxDevice
GetNextDevice
LockPixels
AllowPurgePixels
NoPurgePixels
GetPixelsState
SetPixelsState
GetPixBaseAddr
PixMap32Bit
About Graphics Devices
Offscreen Graphics
Setting a Device's Pixel Depth
The 'scrn' Resource
UnlockPixels
Unlock the buffer used by an offscreen graphics world
#include <
Quickdraw.h
>
Graphics Devices
void
UnlockPixels
(
pm
);
PixMapHandle
pm
;
Pixel map handle returned from a
GetGWorldPixMap
call
returns
none
UnlockPixels
unlocks the offscreen buffer. Call
UnlockPixels
as soon as
the application finishes drawing to or from the offscreen pixel map. You don't
need to call
UnlockPixels
if
LockPixels
returned
FALSE
, because
LockPixels
doesn't lock purged pixels. However, calling
UnlockPixels
on
purged pixels does no harm.
Returns
: an
Error Code
. It is one of:
noErr (0) No error
paramErr (-50) Illegal parameter
Referenced by (16):
LockPixels
Offscreen Graphics
SetPixelsState
Graphics Devices Manager (Inside Mac - Index)
LockPixels (Inside Mac - Basic Toolbox)
Offscreen Graphics (Inside Mac - Basic Toolbox)
SetPixelsState (Inside Mac - Basic Toolbox)
Jun 92 Tips (MacTech Vol 08-1992)
Color Animation (MacTech Vol 09-1993)
Courteous Apps (MacTech Vol 09-1993)
Voxels (MacTech Vol 09-1993)
Apr 99 Tips (MacTech Vol 15-1999)
Feb 01 QTToolkit (MacTech Vol 17-2001)
January 90 - BRAVING OFFSCREEN WORLDS (develop - 1990)
Autumn 91 - BE OUR GUEST (develop - 1991)
March 96 - Letters (develop - 1996)