Re: Canvas + Affine Transforms



To get some of the affine transformation stuff to work correctly, you need
to use an antialiased canvas instead of a regular one.  Once you switch
over, the affine transformations should work correctly.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Mon, 7 Jun 1999, Jay Bloodworth wrote:

> Sorry if this is a resend.
> 
> 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?
> 
> Thanks,
> Jay
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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