Important: The information in this document is obsolete and should not be used for new development.
GetPixPatTo get a pixel pattern (
'ppat') resource stored in a resource file, you can use the
FUNCTION GetPixPat (patID: Integer): PixPatHandle;
- The resource ID for a resource of type
GetPixPatfunction returns a handle to the pixel pattern having the resource ID you specify in the
GetPixPatfunction calls the following Resource Manager function with these parameters:
GetResource('ppat', patID);If a
'ppat'resource with the ID that you request does not exist, the
When you are finished with the pixel pattern, use the
DisposePixPatprocedure (described on page 4-82).
GetPixPatfunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.
'ppat'resource format is described on page 4-94. See the chapter "Resource Manager" in Inside Macintosh: More Macintosh Toolbox for more information about resources, the Resource Manager, and the