ExportLineProc

Called to draw a sector.

    typedef GSErr GX_CALL ExportLineProc (
    void*  userDataPtr,
    long  x1,
    long  y1,
    long  z1,
    long  x2,
    long  y2,
    long  z2,
    short  penind,
    long*  longvals,
    short*  shrtvals,
        bool  shadowElem
);

Parameters

userDataPtr
The user-defined data set in the caller function.
x1
The x co-ordinate of the starting point of the sector.
y1
The y co-ordinate of the starting point of the sector.
z1
Undefined, should be omitted.
x2
The x co-ordinate of the ending point of the sector.
y2
The y co-ordinate of the ending point of the sector.
z2
Undefined, should be omitted.
penind
The attribute index of the used pen.
longvals
Undefined, should be omitted.
shrtvals
Undefined, should be omitted.
shadowElem
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.

Remarks

The sector color and line width determined by the penind attributes.

Requirements

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

See Also

VIDrawContext struct