public native void setClip(int x, int y, int x2, int y2);
public native void resetClip();
- public native void fillRect(int x, int y, int x2, int y2, int color);
public native void fillTrapezoid(int x1, int x2, int y1, int x3, int x4, int y2, int color);
public void drawString(String font, String text, int x, int y, int color) {
//System.out.println("drawString(): " + text);
}
+ public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+ int sx1, int sy1, int sx2, int sy2, int rgb);
+
public void drawPicture(org.xwt.Picture source, int x, int y) {
activateContext();
GLPicture p = (GLPicture) source;