Jump to content

LINEINFO: Difference between revisions

From EDM2
Created page with "Line information data structure shared by cLines in the alpkLinePack array. == Type == ULONG ulLength; ULONG ulType; ULONG ulStyle..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Line information data structure shared by cLines in the alpkLinePack array.  
Line information data structure shared by cLines in the alpkLinePack array.


== Type ==
== Type ==
  [[ULONG]]        ulLength;
[[ULONG]]        ulLength;
  ULONG        [[ulType]];   
ULONG        ulType;
  ULONG        ulStyleMask;  
  ULONG        ulStyleMask;
  ULONG        cLines;      
ULONG        cLines;
  ULONG        ulFGColor;    
ULONG        ulFGColor;
  ULONG        ulBGColor;    
ULONG        ulBGColor;
  [[USHORT]]        usForeROP;  
[[USHORT]]        usForeROP;
  USHORT        usBackROP;    
USHORT        usBackROP;
  [[PBMAPINFO]]     pDstBmapInfo;
PBMAPINFO    pDstBmapInfo;
  [[PLINEPACK]]     alpkLinePack;
PLINEPACK    alpkLinePack;
  [[PRECTL]]        prclBounds;  
[[PRECTL]]        prclBounds;
 
 
== C Declaration Method ==
== C Declaration Method ==
  typedef
  typedef


== Fields ==
== Fields ==
; ulLength : Length of LINEINFO data structure.
;ulLength : Length of LINEINFO data structure.
; [[ulType]] : Defines line type.  
;ulType : Defines line type.  
; ulStyleMask : A 32-bit style mask.
;ulStyleMask : A 32-bit style mask.
; cLines : Count of lines to be drawn.
;cLines : Count of lines to be drawn.
; ulFGColor : Line Foreground color.  
;ulFGColor : Line Foreground color.  
; ulBGColor : Line Background color.  
;ulBGColor : Line Background color.  
; usForeROP : Line Foreground mix.
;usForeROP : Line Foreground mix.
; usBackROP : Line Background mix.
;usBackROP : Line Background mix.
; pDstBmapInfo : Pointer to destination surface bit map.
;pDstBmapInfo : Pointer to destination surface bit map.
; alpkLinePack : Pointer to LINEPACK data structure.
;alpkLinePack : Pointer to LINEPACK data structure.
; prclBounds : Pointer to bounding rect of a clipped line.
;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;
 
</PRE>


[[Category:Data type]]
[[Category:Data type]]

Revision as of 00:24, 31 August 2017

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.