From: Vinícius d. S. O. <vin...@gm...> - 2013-08-14 00:23:33
|
Em Ter, 2013-08-13 às 23:13 +1000, Nathan Hurst escreveu: > I think you should be able to write something using direct string > concatenation in an afternoon. I already started coding, but I want to share design ideas sooner. There will be a function, called render_svg_path (declared under svg-path-render.h file), analogous to parse_svg_path. This function will receive an ostream object and a PathVector. I still didn't reasoned enough to conclude if this should be an operator overload or a normal function, but I think it should be a normal function to maintain consistency. parse_svg_path only treats the "d" attribute, so should render_svg_path (this english sentence I don't know if it's correct, I'm trying to use the same grammar technique from Donnie Darko movie: <https://gist.github.com/vinipsmaker/6226845#file-donnie-darko-part-L11>). My tests ran fine and I don't think I'll have much trouble, but lib2geom needs some love as a "standalone" installed library. When I tried to compile-and-link my tests to a system-installed-dynamic-lib 2geom, there where some include files errors due to missing installed files (numeric folder). I fixed this error locally, but I'll share the results soon. -- Vinícius dos Santos Oliveira https://about.me/vinipsmaker |