Jump to content

LINEBUNDLE: Difference between revisions

From EDM2
Created page with "Line-attributes bundle structure. ==Type== LONG lColor; LONG lBackColor; USHORT usMixMode; USHORT usBackMixMode; FIXED fxWidth; LONG ..."
 
Ak120 (talk | contribs)
m ahu
Line 1: Line 1:
Line-attributes bundle structure.  
Line-attributes bundle structure.


==Type==
==Type==
   LONG      lColor;  
   LONG      lColor;
   LONG      lBackColor;
   LONG      lBackColor;
   USHORT    usMixMode;  
   USHORT    usMixMode;
   USHORT    usBackMixMode;  
   USHORT    usBackMixMode;
   FIXED      fxWidth;
   [[FIXED]]     fxWidth;
   LONG      lGeomWidth;
   LONG      lGeomWidth;
   USHORT    usType;
   USHORT    usType;
Line 12: Line 12:
   USHORT    usJoin;
   USHORT    usJoin;
   USHORT    usReserved;
   USHORT    usReserved;
==C Declaration Method==
==C Declaration Method==
  typedef struct
  typedef struct
==Example Code==
<PRE>
typedef struct _LINEBUNDLE {
  LONG      lColor;        /*  Line foreground color. */
  LONG      lBackColor;    /*  Line background color. */
  USHORT    usMixMode;      /*  Line foreground-mix mode. */
  USHORT    usBackMixMode;  /*  Line background-mix mode. */
  FIXED      fxWidth;        /*  Line width. */
  LONG      lGeomWidth;    /*  Geometric line width. */
  USHORT    usType;        /*  Line type. */
  USHORT    usEnd;          /*  Line end. */
  USHORT    usJoin;        /*  Line join. */
  USHORT    usReserved;    /*  Reserved. */
} LINEBUNDLE;


typedef LINEBUNDLE *PLINEBUNDLE;
==Fields==
</PRE>
;lColor:Line foreground color
;lBackColor:Line background color
;usMixMode:Line foreground-mix mode
;usBackMixMode:Line background-mix mode
;fxWidth:Line width
;lGeomWidth:Geometric line width
;usType:Line type
;usEnd:Line end
;usJoin:Line join
;usReserved:Reserved


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

Revision as of 06:48, 21 February 2020

Line-attributes bundle structure.

Type

 LONG       lColor;
 LONG       lBackColor;
 USHORT     usMixMode;
 USHORT     usBackMixMode;
 FIXED      fxWidth;
 LONG       lGeomWidth;
 USHORT     usType;
 USHORT     usEnd;
 USHORT     usJoin;
 USHORT     usReserved;

C Declaration Method

typedef struct

Fields

lColor
Line foreground color
lBackColor
Line background color
usMixMode
Line foreground-mix mode
usBackMixMode
Line background-mix mode
fxWidth
Line width
lGeomWidth
Geometric line width
usType
Line type
usEnd
Line end
usJoin
Line join
usReserved
Reserved