Results 1 to 2 of 2

Thread: how to paint 3d graphic(like pie without OPenGL module)

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default how to paint 3d graphic(like pie without OPenGL module)

    Hello everyone:
    i have a question about draw a three-dimensional pie to show data in my database.But i cannot use OpenGl Model.Can you suggest what class can i use and what api can inplement this function?I use QT-4.1.4 on windows XP.
    Thank you a lot!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to paint 3d graphic(like pie without OPenGL module)

    QPainter (esp. QPainter::drawEllipse()) and QPainterPath should be enough.

    Also see itemviews/chart example.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.