|
PENTIP
- 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
GetStrokeAttributes, SetStrokeAttributes, GetStrokeTableAttributes, SetStrokeTableAttributes, GetPenMiscInfo, SetPenMiscInfo, INKINGINFO
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|