public class X11Test
{
- static void draw (Cairo.Graphics gr, int width, int height)
+ static void draw (Cairo.Context gr, int width, int height)
{
double x=0.1, y=0.5;
double x1=0.4, y1=0.9, x2=0.6, y2=0.1, x3=0.9, y3=0.5;
(int)win.Width, (int)win.Height);
- Cairo.Graphics g = new Cairo.Graphics (s);
+ Cairo.Context g = new Cairo.Context (s);
draw (g, 500, 500);