TileImage: s/drawTo/drawFragment

This commit is contained in:
Jason Long 2015-01-09 22:46:59 -05:00
parent 28be533163
commit 9a285f18ab
3 changed files with 19 additions and 11 deletions

View file

@ -112,7 +112,7 @@ public class MakeTiles
}
@Override
public void drawTo(Graphics2D gr, int destX, int destY, int srcX, int srcY) { throw new UnsupportedOperationException(); }
public void drawFragment(Graphics2D gr, int destX, int destY, int srcX, int srcY) { throw new UnsupportedOperationException(); }
}
static class Composer
@ -239,7 +239,7 @@ public class MakeTiles
assert dest instanceof ComposeFrame;
ComposeFrame f = (ComposeFrame) dest;
f.refImage.drawTo(c.getGr(f), f.offsetX, f.offsetY, 0, 0);
f.refImage.drawTo(c.getGr(f), f.offsetX, f.offsetY);
}
}