Re: Canvas + Affine Transforms




On Mon, 7 Jun 1999, Jay Bloodworth wrote:
> 
> 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?
> 

Rotation won't work in Gdk mode, only on the antialiased canvas. It does
work with the antialiased canvas though, AFAIK.

If you're using AA mode, can you send a code sample that shows the
problem?

Havoc




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