Results 1 to 13 of 13

Thread: Limitations to QPolygonF?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Nov 2010
    Posts
    315
    Thanked 53 Times in 51 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Limitations to QPolygonF?

    Quote Originally Posted by roband915 View Post
    Is there any limitations to how many points a QPolygonF can contain?
    I have in my scene several polygons and when I use my "drawing tool" to draw some lines it crashes. But It only crashes when I add a polygon which contains 130188 points to be exact. If I don't add it everything works just fine.
    130188 point for polygon it's a lot! Note that you want to have more points then screen resolution! Definitely first you should optimize you code and prevent adding dummy points (quick calculation: lets say users can drew a curve with speed 10 points per second, to draw curve with 130188 points 3.6 hours is needed, so something is wrong with you code or problem explanation!).
    Last edited by MarekR22; 24th May 2011 at 09:51.

Similar Threads

  1. QPolygonF precision?! is it possible?!
    By fatecasino in forum Newbie
    Replies: 11
    Last Post: 27th January 2011, 02:36
  2. QTreeWidget Delegate setModelData limitations
    By kubas in forum Qt Programming
    Replies: 0
    Last Post: 8th September 2009, 08:40
  3. Sorting QPolygonF
    By giusepped in forum Qt Programming
    Replies: 3
    Last Post: 7th January 2009, 08:34
  4. QHttp Limitations?
    By rage in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th September 2007, 11:58
  5. QGraphicsScene/QGraphicsView window limitations
    By mistertoony in forum Qt Programming
    Replies: 11
    Last Post: 17th February 2007, 08:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.