PENTIP
2.0
Pen tip
characteristics.
typedef struct {
DWORD
cbSize;
BYTE btype;
BYTE
bwidth;
BYTE
bheight;
BYTE
bOpacity;
COLORREF
rgb;
DWORD
dwFlags;
DWORD
dwReserved;
} PENTIP;
Members
cbSize
Size of this
structure in bytes.
btype
Pen nib type.
Types in the range 0 through 63 are reserved for predefined standard types. An
application can use values in the range 64 through 255.
bwidth
Pen nib
width, in display device units (pixels).
bheight
Pen nib
height, in display device units (pixels). In the current version of the Pen
API, this member is ignored.
bOpacity
Opacity of
the ink, which corresponds to the JOT standard. bOpacity must have one
of the following values:
Constant |
Description |
PENTIP_OPAQUE |
New ink
overwrites any existing ink. |
PENTIP_HILITE |
New ink is
visible but partly transparent, possibly interacting with underlying ink. |
PENTIP_TRANSPARENT |
Ink is
completely transparent. There is no interaction with any underlying ink. |
rgb
RGB pen
color.
dwFlags
Reserved.
dwReserved
Reserved;
must be set to 0.
Comments
Before using PENTIP,
an application must initialize cbSize with sizeof( PENTIP ).
See Also