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

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to