You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by GU...@DLH.DE on 2003/05/12 11:35:54 UTC
line drawing precision
Hi everybody,
i'm using batik as a java-library for drawing SVG-graphics.
Since no animation is possible (yet), i wrote some javascript to animate
line-drawing. Rendering this animation using batik is somewhat crude since
the resulting line jitters around the actual position (even when using
antialiasing etc. [see source]).
I suspect the Java2D api of not accurately drawing these lines even though
these lines are of the type line2d.float.
Rendering the same svg-file using the Adobe-plug-in for the InternetExplorer
does not show this kind of jitter-effect.
Does anybody know how to circumvent or solve this problem?
<<test01.svg>>
Used environment:
OS: WindowsNT 4.0
JDK: j2sdk1.4.1_02
batik: 1.5beta5 (source)
ide: NetBeans 3.4.1
> Gunther Bachmann
> Referent Neue Technologien
>
> Lufthansa Revenue Services GmbH
> Neue Technologien - HAM DP/AT
> Schuetzenwall 1
> D - 22844 Norderstedt
>
> Tel: +49 40 5070-7881
> Fax: +49 40 5070-7827
> E-mail: mailto:gunther.bachmann@dlh.de
> Internet: www.revenue-accounting.com
>