
Paul, I've been looking at your code for some time. The mass of code you and Jake is mind boggling. Can you tell me a simple way of iterating through the svg's primitives? Is that possible? I need to have access to primitives, like text, lines, polylines, circles, etc. Once that is done I can start writing my drawing functions. Thanks, Christian On Thu, Jul 30, 2009 at 1:47 PM, Paul A. Bristow<pbristow@hetp.u-net.com> wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Christian Henning Sent: 30 July 2009 18:40 To: boost@lists.boost.org Subject: Re: [boost] Boost.Plot? - Scalable Vector Graphics
Paul, I have a gil extension using OpenCV to draw primitives into a gil image. Without looking at your code. How easy is to get the max coordinate which would serve as image dimensions? Do you have scaling or other transformations implemented? Ahh, yes, what drawing primitives are you using? Line segments only?
Questions over questions. I guess I should have a look at your code. ;-)
I suggest first looking at some of the .svg file sources I provided - using your favourite browser, and View, Page Source.
Anything you see there is easily available. For a start it includes the image size.
And the svg graphics specification http://www.w3.org/TR/SVG11/ to get a flavour.
Inkscape is a nice SVG editor and viewer (renderer) and allows conversion to other formats (png, ps... ) - but not gil_image.
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost