[Haskell-cafe] Haskell SVG path parser?
Dimitry Golubovsky
golubovsky at gmail.com
Mon May 24 10:57:46 EDT 2010
Henning,
Thanks, I'll try to use your code.
BTW does it handle the syntax where repeated operation is omitted, per
SVG spec 8.3.1?
--------------------------------------------------------------------------------------------------
The command letter can be eliminated on subsequent commands if the
same command is used multiple times in a row (e.g., you can drop the
second "L" in "M 100 200 L 200 100 L -100 -200" and use "M 100 200 L
200 100 -100 -200" instead).
--------------------------------------------------------------------------------------------------
see http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation
On Mon, May 24, 2010 at 10:43 AM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
[skip]
> Once I wrote such a function in order to convert an SVG path to PDF. See
> parsePath in
> http://code.haskell.org/~thielema/internetmarke/src/Main.hs
>
--
Dimitry Golubovsky
Anywhere on the Web
More information about the Haskell-Cafe
mailing list