Jump to content

LINEBUNDLE: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m ahu
No edit summary
 
Line 27: Line 27:
;usJoin:Line join
;usJoin:Line join
;usReserved:Reserved
;usReserved:Reserved
== Sample Source 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 ;
</PRE>


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

Latest revision as of 20:55, 25 June 2023

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

Sample Source Code

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 ;