[wxruby-users] chart extension for wxRuby?
Andreas Warberg
lists at ruby-forum.com
Mon Apr 21 07:52:51 EDT 2008
Alex Fenton wrote:
> I think you've misunderstood the purpose of the example. It was just to
> show a set up where a scruffy graph would render using a wxRuby DC
> (device context) rather than to an SVG object.
>
> What remains for someone with motivation to do is to convert or
> translate the calls that scruffy makes to an svg object inside the
> library (eg svg.line, svg.circle) into the equivalent DC calls
> (dc.draw_line, dc.draw_circle). The relevant parts of scruffy to look at
> are in the components and layers directory.
You're right I did misunderstand. I might pursue your first suggestion
to create the svg and the load it as an image, though it is suboptimal.
I understand you can divert the output procedure to the screen but since
it is not a part of the "standard package" - and I thus need to write it
myself - I don't think it is a good route to take, considering time and
reliability.
Thanks!
Andreas
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list