Graphisoft®

API Development KitVersion: 18

ExportPixMapProc

Called to draw a pixmap.

    typedef GSErr GX_CALL ExportPixMapProc (
    void*                 userDataPtr,
    const GSPixMapHandle  pixMap,
    const Box2DData*      dstBox,
    bool                  isMirrored,
    double                angle
);

Parameters

userDataPtr
The user-defined data set in the caller function.
pixMap
The pixmap to be drawn.
dstBox
The seen size of the pixMap to be drawn.
isMirrored
PixMap is mirrored - must be done before rotation.
angle
The angle of PixMap in radians.

Return Values

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

Remarks

The text color and determined by the pen attribute.

Requirements

Version: API 10.0 or later, ModelerGraphics 8 or later
Header: G2DProcs.h

See Also

VIDrawContext struct