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 theCopyPixMapprocedure to duplicate aPixMaprecord.
PROCEDURE CopyPixMap (srcPM,dstPM: PixMapHandle);
srcPM- A handle to the
PixMaprecord to be copied.dstPM- A handle to the duplicated
PixMaprecord.DESCRIPTION
TheCopyPixMapprocedure copies the contents of the sourcePixMaprecord to the destinationPixMaprecord. The contents of the color table are copied, so the destinationPixMaphas its own copy of the color table. Because thebaseAddrfield of thePixMaprecord is a pointer, the pointer, but not the image itself, is copied.