What I don't really understand is why Apple hasn't come up with some
lightweight vector graphics format like they used to have with PICT.
In some ways, moving away from PICT was a step backwards, IMHO.
My understanding (please correct me if I'm wrong) is that Apple's
vector-art "solution" now is to use PDF. But that really seems like a
heavy weight solution to me for most simple needs.
Rob
On Sep 17, 2008, at 12:37 PM, James Rome wrote:
I am a great fan of Vector graphics. I wrote and sell GraphiC a C-
based
scientific Graphics library (www.sciend.com). So, having switched
to a
Mac, I needed to get rid of all the yucky Windows calls and do things
correctly. So I stripped all device-dependent things from the C code,
and just create our graphics metafile (which in in Tektronix vector
format). I then pipe this to Java where it is nicely displayed using
the
Graphics2D calls. I did have to use buffered random access files (an
extension) to make this fast. I then use Batik to convert the images
to
other formats. And yes, you can zoom in or out and then do the
conversion, so you can make icons too.
I have an alpha version of this for anyone who might be interested.
What
is nice about this is that it runs in Linux, OS X, Solaris, and
Windows,
although you have to use MinGW in Windows.
Jim Rome
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/ken.orr
%40mathworks.com
This email sent to email@hidden