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 ..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
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==
 
==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==
<PRE>
<PRE>
typedef struct _LINEBUNDLE {
typedef struct _LINEBUNDLE {
Line 29: Line 43:
} LINEBUNDLE;
} LINEBUNDLE;


typedef LINEBUNDLE *PLINEBUNDLE;
typedef   LINEBUNDLE   * PLINEBUNDLE ;
</PRE>
</PRE>


[[Category: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 ;