added missing patches to move to fillTriangle() and Mesh
[org.ibex.core.git] / src / org / ibex / graphics / PixelBuffer.java
index 24c4b01..fb61837 100644 (file)
@@ -20,8 +20,9 @@ import org.ibex.util.*;
 public interface PixelBuffer {
     public abstract void drawLine(int x1, int y1, int x2, int y2, int color);
     public abstract void fillTrapezoid(int x1, int x2, int y1, int x3, int x4, int y2, int color);
-    public abstract void drawPicture(Picture p, int x, int y, int x1, int y1, int w, int h);  // names may be wrong
-    public abstract void drawGlyph(Font.Glyph source, int dx1, int dy1, int cx1, int cy1, int cx2, int cy2, int rgb, int bg);
+    public abstract void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int color);
+    public abstract void drawPicture(Picture p, Affine a, Mesh h);
+    public abstract void drawGlyph(Font.Glyph source, Affine a, Mesh h, int rgb, int bg);
     public abstract void stroke(Polygon p, int color);
     public abstract void fill(Polygon p, Paint paint);
 }