## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### LINEPACK

Line information data structure on a per-line basis.

    typedef struct _LINEPACK {

      ULONG        ulStyleStep;      /*  Value to be added to ulStyleValue. */

      ULONG        ulStyleValue;     /*  Style value at the current pel. */

      ULONG        ulFlags;          /*  Flags used for the LINEPACK data structure. */

      LINEPACK     plpkNext;         /*  Pointer to next LINEPACK data structure. */

      ULONG        ulAbsDeltaX;      /*  Clipped Bresenham Delta X, absolute. */

      ULONG        ulAbsDeltaY;      /*  Clipped Bresenham Delta Y, absolute. */

      POINTL       ptlClipStart;     /*  Pointer to location for device to perform Bresenham algorithm. */

      POINTL       ptlClipEnd;       /*  Ending location for Bresenham algorithm (see ptlClipStart). */

      POINTL       ptlStart;         /*  Pointer to starting location for line. */

      POINTL       ptlEnd;           /*  Ending location for line. */

      LONG         lClipStartError;  /*  Standard Bresenham error at the clipped start point. */

    } LINEPACK;

    typedef   LINEPACK   * PLINEPACK ;