Jump to content

LINEPACK: Difference between revisions

From EDM2
Created page with "Line information data structure on a per-line basis. ==Example Code== <PRE> typedef struct _LINEPACK { ULONG ulStyleStep; /* Value to be added to ulStyleValue...."
(No difference)

Revision as of 17:30, 8 February 2020

Line information data structure on a per-line basis.

Example Code

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;