-// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
package org.xwt.plat;
import java.awt.*;
private DataBuffer buf = null;
// this doens't seem to work on Windows
- /*
public void drawGlyph(Picture source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) {
AWTPicture src = (AWTPicture)source;
src.init();
g2.drawImage(i, 0, 0, null);
g2.setClip(0, 0, i.getWidth(null), i.getHeight(null));
}
- */
public Java2PixelBuffer(int w, int h) {
sm = cm.createCompatibleSampleModel(w, h);