[OpenJDK Rasterizer] Task 2 - line widening
Roman Kennke
roman at kennke.org
Wed May 16 00:36:17 PDT 2007
Hi again,
<snip>
if you think that a 100% java solution for BasicStroke could be
feasible, you may have a look at GNU Classpath's BasicStroke
implementation.
IIRC, the guy who did this, made some benchmarks of this implementation
against JDK5 back then, and the performance was pretty ok, comparable
with the JDK's BasicStroke. AFAIK, it preservers curves too.
If you think this could be worth a try, maybe have a look at the sources
for this:
http://developer.classpath.org/doc/java/awt/BasicStroke-source.html
(it references classes elsewhere, so you'd better pull yourself the CVS
or TAR.GZ package)
Or I can try how it fits with OpenJDK.
/Roman
More information about the graphics-rasterizer-dev
mailing list