|
Boost : |
Subject: Re: [boost] Boost.Plot? - Scalable Vector Graphics
From: Christian Henning (chhenning_at_[hidden])
Date: 2009-08-01 15:09:03
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_at_[hidden]> wrote:
>
>
>> -----Original Message-----
>> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On
>> Behalf Of Christian Henning
>> Sent: 30 July 2009 18:40
>> To: boost_at_[hidden]
>> 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_at_[hidden]
>
>
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk