xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G. Wade Johnson" <gwa...@anomaly.org>
Subject Re: Image flipping/mirror
Date Tue, 17 Apr 2007 03:03:22 GMT
On Mon, 16 Apr 2007 07:42:59 -0700 (PDT)
vyang <vyang@apt-cafm.com> wrote:

> 
> Hello,
> 
> Well, I grabbed the x and y coordinates of the image after I scaled
> it and its the same as the x and y coordinates before scaling.  So it
> should still be in the view box, or am I doing this wrong?

It depends on how you get the x and y coordinates, I think.

Try setting the x attribute for your image to the negative of the value
you want it to be, and then scale(-1,1).

G. Wade
-- 
Make no decision out of fear.                      -- Bruce Sterling

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message