(Scaled x3)
I'm trying to draw a rounded rect, where the corners are rounded the same as each other. As you can see in the image above, mine keep coming out where the upper-left corner is correct, the lower-right corner is wrong, and the other two are somewhere in-between.
I'm calling the function like this:
Qt Code:
painter->drawRoundedRect(...blah..., 7.0f, 7.0f);To copy to clipboard, switch view to plain text mode
Clearly I don't understand how QPainter::drawRoundedRect() works. ( http://doc.qt.nokia.com/latest/qpain...rawRoundedRect )
Why are my corners uneven?
Bookmarks