Sequence of InterViews 3.1 canvas.curve_to to Idraw BSpl

Michael Hines <[email protected]> Tue, 01 Mar 2005 12:45:27 -0500
Newsgroups gmane.comp.lib.ivtools.devel
Message-ID <[email protected]>
I see in ivtools-1.2/src/IVGlyph/figure.c
how to convert *_BSpline31 arrays into a sequence of curve_to calls.
But I need to go the other way.
My application uses curve_to and contains an Idraw file writer which
needs to convert them to a BSpl or CBSpl.
Does anyone know the algorithm?

By the way, if anyone is interested, I've long been maintaining
a mac os x carbon and MSWindows version of InterViews 3.2a for use
with my application and the tar.gz file can be found at
http://www.neuron.yale.edu/neuron/install/install.html
It builds using an autoconf generated configure file. With X11
it also builds the original idraw using
the Unidraw and InterViews-2.6 compatibility classes, but I never
got around to porting the InterViews-2.6/x*.c files to carbon or
mswin so idraw never made it to those places.

-Michael Hines



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click