Graphisoft®

GX ModuleVersion: 16

GXCopyGSPixMap

Duplicates the source pixmap to the target.

    GSErr GXCopyGSPixMap (
      GSPixMapHandle*        target,
      const GSPixMapHandle&  source
    );

Parameters

target
The pixmap receiving the contents of the source pixmap. Its value should be NULL.
source
The pixmap to be duplicated.

Return Values

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Remarks

This function duplicates the whole pixmap so it could require a considerable amount of memory.

Requirements

Version:
GX 10 or later
Header:
Graphics2D.h
Import Library:
GXImp.lib
Module:
GX.dll [WIN], GX.framework [MAC]

See Also

Graphics functions, GXCreateGSPixMap, GXDeleteGSPixMap