[Mono-devel-list] using Art

John Luke john.luke at gmail.com
Thu Sep 16 15:21:05 EDT 2004


On Thu, 16 Sep 2004 15:06:51 -0400 (EDT), Aaron Forrest
<aaron at ultramoderne.net> wrote:
> Does anyone know of an open source project that makes use of art-sharp?  i
> am interested in using it but the documentation in monodoc is a little
> meager and i would like to see some example code to get an idea of how to
> use it.
> 
> i would like to use it to draw some rectangles, and maybe text, to a pixbuf
> thanks

Hello,
I am not aware of anyone using art.  But if you only need simple
rectangles and text perhaps
you can just use the gdk drawable and pango.layout ways of doing it. 
There is a _very_ small example in Gtk.DrawingArea for just text. 
Adding a pixbuf and text is not much harder, I did so for the about
box in MonoDevelop  with scrolling text, if that helps.

You might also want to look into Mono.Cairo if you want more advanced
things than the above, I believe there is an example in
gtk-sharp/sample for it.



More information about the Mono-devel-list mailing list