[Gtk-sharp-list] Drawing with Cairo documentation (http://www.mono-project.com/Drawing)

Jeroen Hoek mail at jeroenhoek.nl
Mon May 7 13:30:50 EDT 2007


Hello,

The Cairo usage primer at http://www.mono-project.com/Drawing seems a
bit out of date. The Cairo page mentions using Graphics.cs as the
preferred way of using Cairo at the moment, but the link to that file is
broken.

I tried darwing a bit with the Graphics.cs file found in the Cairo GTK
samples directory in the Mono source tarball, but that only worked
partially; the application didn't redraw properly. Then I noticed that
the samples in mono-1.2.3.1/mcs/class/Mono.Cairo/Samples/gtk all used
sysdraw.cs instead of Graphics.cs. With sysdraw.cs my test (on Linux)
does redraw smoothly. Perhaps the website can be updated?

Kind regards,

Jeroen Hoek



More information about the Gtk-sharp-list mailing list