[Mono-list] Gdk: Text drawing on pixmap

Miguel de Icaza miguel@ximian.com
Sun, 22 Feb 2004 11:55:33 -0500


Hello,

> I have an application that draws rectangles, lines, etc on a pixmap. 
> The Gdk.Pixmap class is ideally suited for that purpose, as it has 
> methods for drawing lines, rectangles, images on the pixmap. 
> 
> Now I also need to draw text on the image. Pixmap however does not
> have a method for drawing text, so is there possibly another way I 
> can get text on the pixmap?

Look at the mlist source code (on the Gtk# wiki), it shows how to do
this.

Or the list.cs widget in monodoc, that is another example.