From: Mark D. <mar...@zn...> - 2007-03-28 08:25:45
|
Hi, I don't think there are any 'built ins' for drawing arrows. The 'Join' and 'Cap' styles for the Wx::Pen are best understood if you consider very wide lines. Then, join styles of miter, bevel and round make sense. For an arrow, I think you are going to have to work out the points that you need to pass to $dc->DrawPolygon. If you want the arrows to look good when your lines are at a variety of angles, it will probably need some experimentation. Regards Mark Vaughn Staples wrote: > > I've been seeking tonight for a method to draw arrows on a canvas. I > recognize through the documentation that "lines" have the ability to set > an endpoint type, but the list in the wxWidgets documentation does not > provide for an arrow/pointer type. Do you have a recommendation? > |