Graphisoft®

API Development KitVersion: 18

ExportLineProc

Called to draw a sector.

    typedef GSErr GX_CALL ExportLineProc (
    void*  userDataPtr,
    double  x,
    double  y,
    double  z,
    short  penind,
    long*  longvals,
    short*  shrtvals,
        bool  shadowElem
);

Parameters

userDataPtr
The user-defined data set in the caller function.
x
The x co-ordinate of the hotspot.
y
The y co-ordinate of the hotspot
z
Undefined, should be omitted.
penind
The attribute index of the used pen.
longvals
Undefined, should be omitted.
shrtvals
Undefined, should be omitted.

Return Values

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

Requirements

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

See Also

VIDrawContext struct