svg elliptic toy improvement
A new release of the svg elliptic toy is available on the lib2geom svn repository (svg-elliptic-arc-toy.cpp). I put the SVGEllipticalArc class in a separate file (src/svg-elliptical-arc.h). Now you can control interactively through 3 sliders the x-ray length, the y-ray length and the x-axis rotation angle. Moreover there are 2 toggle buttons for swithing on/off the the large-arc and the sweep flags. Finally instead of the two circles, now the two valid ellipse supports for the arc are drawn.
Btw I've some issue with cmake because it doesn't find any ragel or rlcodegen command (they are specified in the CMakeList.txt file under the src folder ). Usually I solve the problem commenting out the related lines but this is becoming a bit annoying to manage everytime I need to commit my changes. Another issue regards the svg-path-parser.cpp file, because I need to change the line: #include <glib.h> with: #include <glib-2.0/glib.h> but problably this is due to the fact that we're using different linux distro. (I use mandriva 2008)
Regards, Marco Cecchetti
I think if your implementation works, you can remove the SVGEllipticalArc code from path.h/path.cpp because it is not working there. And then plug-in your code. Can you move the lengthy functions from .h to .cpp? What's also good is that you don't overload the reverse() method anymore, which at the moment causes a lot of unnecessary hiding warnings during compilation.
Good work! Regards, Johan
(btw. good that you post here, because it might influence your GSoC proposal. But please also CC to lib2geom-devel@lists.sourceforge.net)
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Marco Sent: donderdag 3 april 2008 17:22 To: inkscape-devel@lists.sourceforge.net Cc: Aaron Spike; njh Subject: [Inkscape-devel] svg elliptic toy improvement
A new release of the svg elliptic toy is available on the lib2geom svn repository (svg-elliptic-arc-toy.cpp). I put the SVGEllipticalArc class in a separate file (src/svg-elliptical-arc.h). Now you can control interactively through 3 sliders the x-ray length, the y-ray length and the x-axis rotation angle. Moreover there are 2 toggle buttons for swithing on/off the the large-arc and the sweep flags. Finally instead of the two circles, now the two valid ellipse supports for the arc are drawn.
Btw I've some issue with cmake because it doesn't find any ragel or rlcodegen command (they are specified in the CMakeList.txt file under the src folder ). Usually I solve the problem commenting out the related lines but this is becoming a bit annoying to manage everytime I need to commit my changes. Another issue regards the svg-path-parser.cpp file, because I need to change the line: #include <glib.h> with: #include <glib-2.0/glib.h> but problably this is due to the fact that we're using different linux distro. (I use mandriva 2008)
Regards, Marco Cecchetti
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
et/marketplace
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
unknown@example.com
-
Marco