Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPainter size limitations
Forum Updated to NodeBB v4.3 + New Features

QPainter size limitations

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 4.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brandont
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      patburke
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        you should log a bug against documentation for this :)

        1 Reply Last reply
        0
        • P Offline
          P Offline
          patburke
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            good to have bugtracker password always at hand :)
            thanks for the bug :D

            1 Reply Last reply
            0
            • B Offline
              B Offline
              brandont
              wrote on last edited by
              #6

              That makes more sense!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved