QPainter size limitations
-
In the "documentation":http://doc.qt.nokia.com/latest/qpainter.html#limitations , it says "while coordinates greater than +/- 215 can be used, any painting performed with coordinates outside this range is not guaranteed to be shown".
Does that mean that you can't "properly" draw graphics more than 430px large? What happens if your making a custom window frame that exceeds 430px? I know you can probably break it down into smaller pieces, but why did they make it so small?
Thanks -Brandon T. -
That's "plus or minus two to the power of 15", "+/-2^15" or "+/-32768". The rendering of that superscript tag in the page appears to be weird.
-
you should log a bug against documentation for this :)
-
So: "Qt docs say coords greater then +/-215 aren't guaranteed to be shown, but this does consistently seem to work, please limit code to break this properly."?
Or maybe: "Fix yer css!"? :)
This does require me to actually remember my bugtracker password though. Such is the trials and tribulations of life.
En-bugged: http://bugreports.qt.nokia.com/browse/QTBUG-15335
-
good to have bugtracker password always at hand :)
thanks for the bug :D -
That makes more sense!