+ private int[] xpoints = new int[3];
+ private int[] ypoints = new int[3];
+ public void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int argb) {
+ xpoints[0] = x1;
+ xpoints[1] = x2;
+ xpoints[2] = x3;
+ ypoints[0] = y1;
+ ypoints[1] = y2;
+ ypoints[2] = y3;
+ Graphics g = getGraphics();
+ g.setColor(new java.awt.Color((argb & 0x00ff0000) >> 16,
+ (argb & 0x0000ff00) >> 8,
+ argb & 0x000000ff/*,
+ (argb & 0xff000000) >> 24*/));
+ g.fillPolygon(xpoints, ypoints, 3);
+ }
+
+ public void drawPicture(Picture p, Affine a, Mesh h) {
+ throw new Error("drawPicture() not implemented");
+ }
+