gprentice Messages: 260 Registered: November 2005 Location: New Zealand
Experienced Member
koldo wrote on Mon, 15 November 2010 09:37
andrei_natanael wrote on Sun, 14 November 2010 20:56
dolik.rce wrote on Sun, 14 November 2010 17:57
The only problem you might encounter is actually how to draw the dotted line, if I remember correctly there is no simple function to draw a line with pattern using Draw. So you will probably have to draw the dots somehow yourself.
There is Draw::DrawLine. 5-th argument may be PEN_SOLID, PEN_DASH, PEN_DOT, PEN_DASHDOT, PEN_DASHDOTDOT if you want to have different kind of lines.
Andrei
Hello Andrei
Those includes only work if Painter is used. If not use a negative color and width == 1 to get a dashed line.