On 16/08/2019 4:20 pm, Bo Berglund via lazarus wrote:
> 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?

This is why fpGUI uses (x, y, width, height) instead of (x1, y1, x2,
y2), because the latter is just too confusing.

Anyway, I think LCL follows the following design... See the Qt4
documentation.

   https://doc.qt.io/archives/qt-4.8/qrect.html#rendering



Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to