[Lazarus] Canvas.Rectangle question

Bo Berglund bo.berglund at gmail.com
Fri Aug 16 17:20:31 CEST 2019


I would like to know if the rectangle drawn by a
Canvas.Rectangle(Rect) call will be sized according to Rect inside of
the bounding line or the outside of line?

Say the rectangle is (10,4, 30,14) and the Pen.Wdth is set to 2, is
the resulting shape 20 x 10 or 24 x 14 in size?


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list