|
Pattern
The pattern attribute specifies the pattern of a geometric pen.
The following illustration shows lines drawn with different geometric pens.
Each pen was created using a different pattern attribute.
The first line in the previous illustration is drawn using one of the six
available hatch patterns; for more information about hatch patterns, see Hatch. The next line is drawn using the hollow pattern, identical to the null
pattern. The third line is drawn using a custom pattern created from an 8- by
8-pixel bitmap. (For more information about bitmaps and their creation, see Bitmaps.) The last line is drawn using a solid pattern. Creating a brush and passing
its handle to the ExtCreatePen function creates a pattern.
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
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|