questionable patch: merge of a lot of stuff from the svg branch
[org.ibex.core.git] / src / org / ibex / plat / Win32.java
index 86f79a3..d30ea04 100644 (file)
@@ -87,7 +87,7 @@ public class Win32 extends GCJ {
         if (container[2] != null) {
             // FIXME
             //ret.proxyAutoConfigFunction = HTTP.Proxy.getProxyAutoConfigFunction(container[2]);
-            if (ret.proxyAutoConfigFunction != null) return ret;
+            //if (ret.proxyAutoConfigFunction != null) return ret;
         }
 
         if (container[0] == null) return null;
@@ -236,11 +236,15 @@ public class Win32 extends GCJ {
     // Win32PixelBuffer //////////////////////////////////////////////////////////////////////////
 
     public static class Win32PixelBuffer implements PixelBuffer {
+        public void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int argb) { throw new Error("not implemented"); }
+
+        public void drawPicture(Picture p, Affine a, Mesh h) { throw new Error("drawPicture() not implemented"); }
+        public void drawGlyph(Font.Glyph source,Affine a,Mesh h,int rgb,int bg) { throw new Error("drawGlyph() not implemented"); }
 
     public void drawLine(int x1, int y1, int x2, int y2, int color) { }
     public void drawGlyph(Font.Glyph source, int dx1, int dy1, int cx1, int cy1, int cx2, int cy2, int rgb, int pc){}
-    public void stroke(Polygon p, int color){}
-    public void fill(Polygon p, Paint paint){}
+    public void stroke(Mesh p, int color){}
+    public void fill(Mesh p, Paint paint){}
         int w = 0;
         int h = 0;