* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Mono.Cairo / Samples / x11 / curve_to.cs
index aaf7112d6332e872abb8119ac20a242ebac916b2..5af27d744cdf7064dcf3f61fcf0ee2ff604f57b0 100644 (file)
@@ -34,7 +34,7 @@ using Cairo;
 
 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;
@@ -73,7 +73,7 @@ public class X11Test
                               (int)win.Width, (int)win.Height);
 
                
-               Cairo.Graphics g = new Cairo.Graphics (s);
+               Cairo.Context g = new Cairo.Context (s);
                
                draw (g, 500, 500);