Wow Aaron and Marco,
That was quick, thanks a bunch! (I didn't know 2geom's parser didn't take A, probably this is going to fix a crash bug for Inkscape :-)
Cheers! Johan
-----Original Message----- From: lib2geom-devel-bounces@lists.sourceforge.net [mailto:lib2geom-devel-bounces@lists.sourceforge.net] On Behalf Of Aaron Spike Sent: woensdag 28 mei 2008 1:00 To: Marco Cc: inkscape-devel@lists.sourceforge.net; Engelen, J.B.C. (Johan); lib2geom-devel@lists.sourceforge.net Subject: Re: [Lib2geom-devel] [Inkscape-devel] New HLineSegment/VLineSegment classes and path.h splitting
Marco wrote:
if someone that knows ragel could fix all that it will be great.
That someone isn't really me, is it? Below are the results after r1283.
Aaron Spike
aaron@...1252...:/usr/local/src/2geom/build$ svn commit ../lib2geom/src/svg-path-parser.rl Sending lib2geom/src/svg-path-parser.rl Transmitting file data . Committed revision 1283. aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 H 20" M X: 10 Y: 10 H 20 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 V 125" M X: 10 Y: 10 V 125 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 H 20 10" M X: 10 Y: 10 H 20 H 10 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 302 152 A 150, 120, 0, 1, 0, 2 152" M X: 302 Y: 152 A 150 120 0 1 0 X: 2 Y: 152 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 300 150 A 150, 120, 30, 1, 0, 200 100" M X: 300 Y: 150 A 150 120 30 1 0 X: 200 Y: 100 Try real pathsink: std::vector length: 1 success!
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Lib2geom-devel mailing list Lib2geom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lib2geom-devel