Important: The information in this document is obsolete and should not be used for new development.
Data Structures
This section shows the Pascal data structures for thePicture
,OpenCPicParams
,CommentSpec
,FontSpec
, andPictInfo
records.When you use the
OpenCPicture
orOpenPicture
function, QuickDraw begins collecting your subsequent drawing commands in aPicture
record. When you use theGetPicture
function to retrieve a picture stored in a resource,GetPicture
reads the resource into memory as aPicture
record.When you use the
OpenCPicture
function to begin creating a picture, you must pass it information in anOpenCPicParams
record. This record provides a simple mechanism for specifying resolutions when creating images.When you use the
GetPictInfo
function, it returns information in aPictInfo
record. When you gather this information for multiple pictures, pixel maps, or bitmaps, theRetrievePictInfo
function also returns aPictInfo
record containing this information.If you specify the
recordComments
constant in theverb
parameter to theGetPictInfo
function orNewPictInfo
function, your application receives aPictInfo
record that includes a handle to aCommentSpec
record. ACommentSpec
record contains information about the comments in a picture.If you specify the
recordFontInfo
constant in theverb
parameter to theGetPictInfo
function orNewPictInfo
function, the function returns aPictInfo
record that includes a handle to aFontSpec
record. AFontSpec
record contains information about the fonts in a picture.