Jae-Joon Lee wrote: > On Wed, Dec 16, 2009 at 12:59 PM, Jouni K. Seppänen <j...@iki.fi> wrote: > >> While the backend API is being changed, would it be similarly easy to >> support arbitrary affine transformations? It would make the API more >> symmetric, since many other draw_* methods take an affine >> transformation, and I guess at least the PS and PDF backends could >> easily support this. >> >> > > Yes, supporting arbitrary affine transform would not be difficult. On > the other hand, I'm not sure if that feature is practically useful, > assuming that other rasterizing backend won't implement it. I'll think > about it. I second the notion that affine transformations on images would be useful. There are a lot of things one can do with this, such as make pseudo-perspective projections of texture-mapped rectangles. This is exactly one of the things that I routinely do in Inkscape.
I'm reasonably sure Cairo supports arbitrary affine transformations when drawing image data -- I don't know about Agg. -Andrew ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel