>>>>> "GB" == Gerard BUNEL <[EMAIL PROTECTED]> writes:

GB> I already posted this mail in batik-users but this one is
GB> probably a best place.

GB> I'm using JSVGCanvas do display a Map.  I've to dynamically draw
GB> points on this map.  For my first test, I've overloaded the
GB> paint(Graphics g) method to do this job.  The code for this is the
GB> following:

    So my guess is that you have some of the AffineTransform handling
wrong (I would need to know a lot more about the context to know
exactly where - for example it is possible that at the end of
super.paint(g) the rendering transform has already been applied).  The
simpliest thing to do is just print out the various transforms to
figure out what is going on (g2d.getTransform() will tell you the
transform already in the Graphics2D).  

    If you aren't really used to working with them this is the only
way you will get anywhere.  I am really used to working with them and
except for really simple cases I have to stop and think for a while
before I can just write the code.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to