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, andPictInforecords.When you use the
OpenCPictureorOpenPicturefunction, QuickDraw begins collecting your subsequent drawing commands in aPicturerecord. When you use theGetPicturefunction to retrieve a picture stored in a resource,GetPicturereads the resource into memory as aPicturerecord.When you use the
OpenCPicturefunction to begin creating a picture, you must pass it information in anOpenCPicParamsrecord. This record provides a simple mechanism for specifying resolutions when creating images.When you use the
GetPictInfofunction, it returns information in aPictInforecord. When you gather this information for multiple pictures, pixel maps, or bitmaps, theRetrievePictInfofunction also returns aPictInforecord containing this information.If you specify the
recordCommentsconstant in theverbparameter to theGetPictInfofunction orNewPictInfofunction, your application receives aPictInforecord that includes a handle to aCommentSpecrecord. ACommentSpecrecord contains information about the comments in a picture.If you specify the
recordFontInfoconstant in theverbparameter to theGetPictInfofunction orNewPictInfofunction, the function returns aPictInforecord that includes a handle to aFontSpecrecord. AFontSpecrecord contains information about the fonts in a picture.