Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 4 - Color QuickDraw / Color QuickDraw Reference
Color QuickDraw Routines / Creating and Disposing of Pixel Patterns


CopyPixPat

Use the CopyPixPat procedure to copy the contents of one pixel pattern to another.

PROCEDURE CopyPixPat (srcPP,dstPP: PixPatHandle);
srcPP
A handle to a source pixel pattern, the contents of which you want to copy.
dstPP
A handle to a destination pixel pattern, into which you want to copy the contents of the pixel pattern in the srcPP parameter.
DESCRIPTION
The CopyPixPat procedure copies the contents of one PixPat record (the handle to which you pass in the srcPP parameter) into another PixPat record (the handle to which you pass in the dstPP parameter). The CopyPixPat procedure copies all of the fields in the source PixPat record, including the contents of the data handle, expanded data handle, expanded map, pixel map handle, and color table.

SEE ALSO
The PixPat record is described on page 4-49.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996