Thomas Down wrote:
> [EMAIL PROTECTED] wrote:
> >
> > >What is classpath's plans for java2D support ?
> >
> > Easy answer -- Gnome's libart. <URL:http://www.levien.com/libart/>
Well I looked at libart and decided to do a strait translation of it to
java.
This would overlap the geometry classes at some point.
I'm making most stuff static so it will really be a library.
>From what I can tell most of it is just and advanced version of "Math".
This will cause some duplication with Geometry.
But I feel that over 50% of the code in Java2D would be used by less than
10% of
people wanting decent graphics. Making java2D do everything caused a huge
bloat IMHO.
I think I would be able to get the translation done in a few months.
Hopefully I can produce a smaller library which provides 90% of the
funtionality of
Java2D and is upward compatible but at least 50% smaller if not more. After
looking at Lib art this seems reasonable. Basically it will just be the
pipeline.
> I haven't had a serious look at libart, but I'd rather doubt that, for
> normal applications, it would be sensible to implement java2d on top of
> any other high-level graphics API. When you look at things like the
> Paint and Composite interfaces, you rapidly run into trouble unless you
> implement a complete rendering system and do it the Java2D way -- in
> fact, I'd say that an almost pure Java approach will probably work best.
>
> I was looking at a Java2D implementation a few months ago, and got a
> reasonable way through the java.awt.geom classes, but then got
> sidetracked by annoying little exam-like things and haven't started
> again since.
>
> Are other people interested in Java2D for classpath? I'm not sure I'm
> going to have the time for a complete implementation on a reasonable
> timescale (it's a BIG project), but I can certainly dust off and finish
> my geometry classes if anyone else is interested in collaborating on
> some of the other bits and pieces.
>
I'm intrested maybe give me a chance to get through this and see what I
come up with.
If you whant we could do the translation together. This would provide a
working
2D capability much faster than going after the full blown java2D spec.
Mike