[Mono-list] Hello World for Mono.Cairo.dll

Peter Dennis Bartok peter at novonyx.com
Mon Aug 29 17:18:20 EDT 2005


Not sure which method in particular you are looking for, but we have the 
cairo Gtk sample code here:
http://svn.myrealbox.com/viewcvs/trunk/mcs/class/Mono.Cairo/Samples/

And, as mentioned before, we are preparing X11 and standalone (png) sample 
code for Mono.Cairo, which, once complete, can also be found under the above 
URL.

The equivalent of cairo_paint, btw, is Surface.Show()

Cheers,
  Peter

-----Original Message-----
From: "Dan Poage" <dan.poage at gmail.com>
To: "Mono Users" <mono-list at lists.ximian.com>
Date: 29 August, 2005 04:06
Subject: [Mono-list] Hello World for Mono.Cairo.dll


I started looking into the Cairo bindings in Mono.Cairo.dll and I
wanted to get a feel for how to use them.  The Cairo.CairoAPI seems to
expose *most* of the functionality in the underlying C library but I
can't find a corrolary to the paint method that is used to display
Ciaro objects on the screen.  I have been looking at the various Cairo
examples (with other bindings) on the web and I can't find where some
of the key functions
are mapped in the Mono.Cairo bindings.  Does anyone have example source for
a Hello World-style program in C# using Mono.Cairo.dll?  Any help is much
appreciated.

Dan
-- 
Oh boy! Sleep! That's when I'm a Viking!
--Ralphie Wiggum
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




More information about the Mono-list mailing list