[Gtk-sharp-list] how to use System.Drawing with gtk-sharp
Thu, 04 Mar 2004 22:37:44 +0800
I wonder whether it's possible to using System.Drawing with gtk-sharp
and how as I'm interested to see a cross platform canvas. so here's the
code with winform, could someone pls convert it to gtk-sharp?
public class BasicForm: Form
public static void Main()
BasicForm f = new BasicForm();
protected override void OnPaint(PaintEventArgs e)
Graphics g = e.Graphics;
g.DrawString("This is my string!", new Font("Arial",12),
Brushes.Black, 25, 25);
Basically, I'd like to access the Graphics so that I can use
I really appreciate any help/suggestions.
Joseph H. Yao
p.s: I'm not on the list, pls cc me when you reply. Thanks!