}
private static class MosaicGLPicture extends GLPicture {
- private static final int overlap = 8;
-
int psize;
GLPicture[][] pics;
private static final int min(int a, int b) { return a < b ? a : b; }
public void draw(int dx, int dy, int cx1, int cy1, int cx2, int cy2) {
- int totalWidth = width;
- int totalHeight = height;
// *{x,y}{1,2} key: d=dest s=src, p=bounds of this picture, i=intersection of s and p, pd = dest of this pic
for(int i=0;i<pics.length;i++) {
for(int j=0;j<pics[i].length;j++) {