Using as a base the ImageenPainter demo program.
I need to draw lines and rectangles with widths different of 1.
If I assign a width with the following code:
ImageEnView1.IEBitmap.Canvas.Pen.Width := 5;
And modify the last parameter of the SetSquarePen function, changing the fixed value of 1 for ImageEnView1.IEBitmap.Canvas.Pen.Width.
The rectangle or line is drawn while I am increasing the size, but if I decrease the size, some part is not undoing correctly.
See the attached image.
What must I change to solve this problem.
