[Gtk-sharp-list] System.Drawing in a GTK# app

Adam Lydick lydickaw@ruffledpenguin.org
Sun, 23 Jan 2005 04:15:04 -0800


Have you looked at rsvg-sharp? I've been playing around with a little
budget management app and I was going to use that and gecko-sharp to
render some nice looking charts.

That should be easier than getting System.Drawing and Gtk# to play nice
together and I believe it would allow you to theme your charts with CSS.

The only downsides that I've noticed so far:
(1) a bit slow to render the pixmap (but you can cache the pixmap).
(2) I haven't figured out a good way to automatically zoom (re-render)
the image to fill the available space. This would make better use of the
benefits of vector graphics.

On Sat, 2005-01-22 at 07:45 -0500, Adam Tauno Williams wrote:
> I've built a GTK# application, but I need to create some graphs/charts.
> Someone on the Mono list just mentioned -
> http://www.codeproject.com/csharp/ZedGraph.asp
> - which uses System.Drawing.   Does anyone know how one would go about
> using System.Drawing in a GTK# app;  such as creating a drawing aread in
> a Gtk.Viewport?

-- 
Adam Lydick <lydickaw@ruffledpenguin.org>