[Qt-interest] trying to rotate ellipse

Gabriel M. Beddingfield gabrbedd at gmail.com
Fri Mar 18 22:27:00 CET 2011



On Fri, 18 Mar 2011, Caius wrote:

> i tried painter.rotate before draw ellipse but then it didnt draw any ellipse.

Probably because it also rotated your coordinate axes... and 
so your coordinates moved the ellipse out of your viewport.

http://doc.qt.nokia.com/4.7-snapshot/qpainter.html#coordinate-transformations

-gabriel



More information about the Qt-interest-old mailing list