All Databases
Inside Mac - Basic Toolbox
GetPixPat
DisposPixPat
NewPixPat
PixPat
GetPixPat
Get handle to a specified 'ppat' resource
#include <
Quickdraw.h
>
Color QuickDraw
PixPatHandle
GetPixPat
(
patID
);
short
patID
; resource ID for desired PixPat
returns
handle leading to a
pixPat
data structure; 0 if error
GetPixPat
allocates and initializes initializes a new
pixPat
data structure.
patID
is the resource identifier of the desired pattern.
Returns
: a
PixPatHandle
leading to the pattern data. If the resource
ID
patID
can't be found, the return value is NIL.
Referenced by (5):
NewPixPat
Color QuickDraw (Inside Mac - Index)
NewPixPat (Inside Mac - Basic Toolbox)
January 90 - ALL ABOUT THE PALETTE MANAGER (develop - 1990)
March 97 - Macintosh Q & A (develop - 1997)