xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hall, Peter (Philotech)" <Peter.H...@m.eads.net>
Subject RE: Question with zooming
Date Fri, 25 Apr 2003 11:40:37 GMT
Hello Silke,

concerning your scale problem.

Are you aware of the methods? 

AffineTransform af = AffineTransform.getScaleInstance(2.0,2.0);
//creates scale tranform x2
jSVGCanvas.setRenderingTransform(af);
//applies transform

Regards,
Peter Hall

-----Original Message-----
From: "Böhler, Silke" [mailto:Silke.Boehler@enerko.de]
Sent: Friday, April 25, 2003 12:36 PM
To: 'batik-users@xml.apache.org'
Subject: Question with zooming


Hello to all,

I have some problems with batik. 

First I'm looking for some good explaining stuff or handbook. 

The second is an actual problem I have in developing a java application 
that uses the batik classes:

    I load some SVG-Code from an ORACLE-Database to my DOM/SVG-tree. Now I
    want to move the objects by dragging the mouse. I wrote some
eventhandlers and
    my objects do move. The problem is the scale. When I zoom out of the
Image,
    the object move slower than the mouse, zooming in lets the objects move
faster
    than the mouse. Somehow I can't get the actual zoom-scale.

Is there anybody that can help me?

thank you very much,
 
     Silke Böhler
 
_________________________
 
Silke Böhler
 
ENERKO Informatik GmbH
Landstraße 20
52457 Aldenhoven
 
Tel: 0 24 64 / 97 15 19
Fax: 0 24 64 / 97 15 65 19
Mail: silke.boehler@enerko.de
Web: www.enerko.de
_________________________
 



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


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


Mime
View raw message