use MOONLIGHT symbol
[mono.git] / mcs / class / Mono.Cairo / Samples / x11 / image.cs
index 40d70281359c43a5d1924d87f1cea00224d91545..a6993c35120aaf7f6ccf258f4c12fecc54ab9882 100644 (file)
@@ -36,15 +36,15 @@ public class X11Test
 {
         static readonly double  M_PI = 3.14159265358979323846;
        
-        static void draw (Cairo.Graphics gr, int width, int height)
+        static void draw (Cairo.Context gr, int width, int height)
        {
                int w, h;
-               SurfaceImage image;
+               ImageSurface image;
                
                gr.Scale (width, height);
                gr.LineWidth = 0.04;
                
-               image = new SurfaceImage ("data/e.png");
+               image = new ImageSurface ("data/e.png");
                w = image.Width;
                h = image.Height;
                
@@ -71,7 +71,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);