All Databases
Inside Mac - Basic Toolbox
GetGWorld
InitGDevice
SetGDevice
DisposGDevice
GetDeviceList
GetMainDevice
NewGDevice
SetDeviceAttribute
GetMaxDevice
GetNextDevice
UnlockPixels
AllowPurgePixels
NoPurgePixels
GetPixelsState
SetPixelsState
GetPixBaseAddr
PixMap32Bit
SetGWorld
GetGWorldDevice
GetGWorldPixMap
DisposeGWorld
About Graphics Devices
Offscreen Graphics
Setting a Device's Pixel Depth
The 'scrn' Resource
GetGWorld
Get the current graphics world
#include <
QDOff screen.h
>
Graphics Devices
void
GetGWorld
(
port, gdh
);
CGrafPtr
*
port
;
get the current port
GDHandle
*
gdh
;
fetch the current device
returns
none
GetGWorld
returns the current graphics world in the port and gdh
parameters. The port parameter is set to the current port, which can be of
type
GrafPtr
,
CGrafPtr
or
GWorldPtr
. The gdh parameter is set to the current
device.
Referenced by (12):
Offscreen Graphics
Graphics Devices Manager (Inside Mac - Index)
Offscreen Graphics (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)
Lights, Camera, Action... (MacTech Vol 14-1998)
Nov 98 Tips (MacTech Vol 14-1998)
Apr 99 Tips (MacTech Vol 15-1999)
Feb 01 QTToolkit (MacTech Vol 17-2001)
January 90 - BRAVING OFFSCREEN WORLDS (develop - 1990)