[Qt-interest] trying to rotate ellipse

caius ligarius caius9090 at gmail.com
Fri Mar 18 23:28:54 CET 2011


thanks, yes it works after i do translation

On Fri, Mar 18, 2011 at 2:27 PM, Gabriel M. Beddingfield <gabrbedd at gmail.com
> wrote:

>
>
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110318/8033585b/attachment.html 


More information about the Qt-interest-old mailing list