[Mono-dev] Mono/C# pointer for using Gdk/Pixbuf

Mark E Mason mark.e.mason at broadcom.com
Thu Nov 9 21:10:06 EST 2006


Hello all,
 
I'm looking for a pointer for doing low-level drawing in a Mono/C#
application developed under MonoDevelop.  Basically, all I need to do is
allocate a pixel buffer, manually set specific pixels to specific
colors, and have it drawn correctly in whatever widget it's attached to.
[Basically I'm taking the results of numerical functions, and
representing them as colors in a pixmap].

I've been looking at using a Pixbuf (or was it Pixmap) and a DrawingArea
widget, but  getting a handle on where to start has been difficult (ie.
How to blit the pixmap into the DrawingArea after an expose event, etc).
I looked at Cairo briefly, but even the docs at go-mono says it's
overkill for what I'm doing.

Any pointers or advice greatly appreciated.

Thanks in advance,
Mark




More information about the Mono-devel-list mailing list