[Qt-qml] Rendering of rectangle borders with odd-numbered widths
bea.lam at nokia.com
bea.lam at nokia.com
Wed May 19 02:52:21 CEST 2010
On 06/05/2010, at 3:23 PM, ext bea.lam at nokia.com wrote:
> Currently if a Rectangle has an odd-numbered width, part of the bottom and right-hand borders are rendered outside the rectangle's boundaries, not inside. This is consistent with Qt's border rendering, as documented at http://doc.qt.nokia.com/4.7-snapshot/qrectf.html (under "Rendering").
>
> This behaviour means that if a Rectangle is drawn inside another Rectangle that has clipping enabled, the inner Rectangle's borders are clipped on the bottom and right-hand sides. If the border width is 1, you will only see the top and left borders of the inner Rectangle.
To finish up on this topic: we'll leave this behaviour unchanged. This style of border rendering is consistent with Qt and WebKit.
regards
Bea
More information about the Qt-qml
mailing list