Jump to content

LINEINFO

From EDM2
Revision as of 17:45, 29 August 2017 by Martini (talk | contribs) (Created page with "Line information data structure shared by cLines in the alpkLinePack array. == Type == ULONG ulLength; ULONG ulType; ULONG ulStyle...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Line information data structure shared by cLines in the alpkLinePack array.

Type

  ULONG         ulLength;
  ULONG         ulType;  
  ULONG         ulStyleMask;   
  ULONG         cLines;        
  ULONG         ulFGColor;     
  ULONG         ulBGColor;     
  USHORT        usForeROP; 
  USHORT        usBackROP;     
  PBMAPINFO     pDstBmapInfo;
  PLINEPACK     alpkLinePack;
  PRECTL        prclBounds; 
  

C Declaration Method

typedef

Fields

ulLength
Length of LINEINFO data structure.
ulType
Defines line type.
ulStyleMask
A 32-bit style mask.
cLines
Count of lines to be drawn.
ulFGColor
Line Foreground color.
ulBGColor
Line Background color.
usForeROP
Line Foreground mix.
usBackROP
Line Background mix.
pDstBmapInfo
Pointer to destination surface bit map.
alpkLinePack
Pointer to LINEPACK data structure.
prclBounds
Pointer to bounding rect of a clipped line.

Remarks

Example Code

struct _LINEINFO {
  ULONG         ulLength;      /*  Length of LINEINFO data structure. */
  ULONG         ulType;        /*  Defines line type. */
  ULONG         ulStyleMask;   /*  A 32-bit style mask. */
  ULONG         cLines;        /*  Count of lines to be drawn. */
  ULONG         ulFGColor;     /*  Line Foreground color. */
  ULONG         ulBGColor;     /*  Line Background color. */
  USHORT        usForeROP;     /*  Line Foreground mix. */
  USHORT        usBackROP;     /*  Line Background mix. */
  PBMAPINFO     pDstBmapInfo;  /*  Pointer to destination surface bit map. */
  PLINEPACK     alpkLinePack;  /*  Pointer to LINEPACK data structure. */
  PRECTL        prclBounds;    /*  Pointer to bounding rect of a clipped line. */
} LINEINFO;

typedef LINEINFO *PLINEINFO;