line style Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
liuyug
Experienced Solver
Experienced Solver
Posts: 53
Joined: Wed Jul 09, 2008 4:32 am

line style

Post by liuyug » Fri Dec 04, 2009 8:03 am

How do I draw the sample line below? I have try all line style, but no result.
Attachments
line.PNG
line.PNG (303 Bytes) Viewed 518 times

illnatured
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 234
Joined: Mon May 08, 2006 12:31 pm
Location: Krakow, Poland

Post by illnatured » Fri Dec 04, 2009 8:16 am

If the built-in pen styles do not suit your needs, you can use the wxSTIPPLE style with a custom bitmap that represents the desired pattern.
VC++ 2005 / Windows XP / wxWidgets 2.8.9

Post Reply