PDA

View Full Version : how to paint 3d graphic(like pie without OPenGL module)



catherine_98
28th June 2007, 15:38
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!

jacek
28th June 2007, 19:42
QPainter (esp. QPainter::drawEllipse()) and QPainterPath should be enough.

Also see itemviews/chart example.