Important: The information in this document is obsolete and should not be used for new development.
CopyPixMap
Although you typically don't need to call this routine in your application code, you can use theCopyPixMap
procedure to duplicate aPixMap
record.
PROCEDURE CopyPixMap (srcPM,dstPM: PixMapHandle);
srcPM
- A handle to the
PixMap
record to be copied.dstPM
- A handle to the duplicated
PixMap
record.DESCRIPTION
TheCopyPixMap
procedure copies the contents of the sourcePixMap
record to the destinationPixMap
record. The contents of the color table are copied, so the destinationPixMap
has its own copy of the color table. Because thebaseAddr
field of thePixMap
record is a pointer, the pointer, but not the image itself, is copied.