Re: [Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-28 Thread Christian Ehrlicher via Development
Am 28.04.2024 um 13:50 schrieb Allan Sandfeld Jensen: I think the problem with the cosmetic pen is partly the need to be symmetric. Years ago I tried cleaning up the cosmetic pen, but had to revert it because it violated rules about symmetry.

Re: [Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-28 Thread Allan Sandfeld Jensen
On Friday 26 April 2024 21:52:48 CEST Christian Ehrlicher via Development wrote: > Hello, > > I'm currently trying to investigate a painting problem within the > windowsvista / common style: > > QImage img(7, 7, QImage::Format_ARGB32_Premultiplied); > QPolygon poly{ QPoint(1, 1), {5,

Re: [Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-28 Thread Henry Skoglund
On 2024-04-28 11:00, Christian Ehrlicher via Development wrote: Am 26.04.2024 um 22:48 schrieb Henry Skoglund: On 2024-04-26 21:52, Christian Ehrlicher via Development wrote: Hello, I'm currently trying to investigate a painting problem within the windowsvista / common style:     QImage

Re: [Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-28 Thread Christian Ehrlicher via Development
Am 26.04.2024 um 22:48 schrieb Henry Skoglund: On 2024-04-26 21:52, Christian Ehrlicher via Development wrote: Hello, I'm currently trying to investigate a painting problem within the windowsvista / common style:     QImage img(7, 7, QImage::Format_ARGB32_Premultiplied);     QPolygon poly{

Re: [Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-26 Thread Henry Skoglund
On 2024-04-26 21:52, Christian Ehrlicher via Development wrote: Hello, I'm currently trying to investigate a painting problem within the windowsvista / common style:     QImage img(7, 7, QImage::Format_ARGB32_Premultiplied);     QPolygon poly{ QPoint(1, 1), {5, 1}, {3, 5} };     QPainter p();  

[Development] Issues with QPainter::drawPolygon (off by one error?)

2024-04-26 Thread Christian Ehrlicher via Development
Hello, I'm currently trying to investigate a painting problem within the windowsvista / common style:     QImage img(7, 7, QImage::Format_ARGB32_Premultiplied);     QPolygon poly{ QPoint(1, 1), {5, 1}, {3, 5} };     QPainter p();     p.setPen(Qt::NoPen);     p.setBrush(QColor(Qt::black));