Re: Canvas + Affine Transforms



>  What's the deal with affine transforms on the canvas, in particular
>  rotations.  In my tinkering (gnome-libs 1.0.8) I've found that control
>  points get rotated correctly, but lines aren't.  That is, a rectangle
>  oriented with the standard x and y axes becomes a distorted rectangle
>  oriented with the axes, rather than a congruent rectangle oriented at a
>  slant.  The screenshots suggest that the whole should be rotate as you
>  would expect, but I noticed that the rotation code has been #if'd out of
>  gnome-test.c.  Are there known problems with affine support and will the
>  be fixed?

Affine transformations only work properly on the antialiased canvas.  

However, the AA canvas is kind of broken right now.  I am working on
fixing it.  You should be able to use it, and if you are lucky, it may
even work :-)

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]