Files
nenya/src/java/com/threerings/media
Michael Bayne 069fe85c70 A whole lot of widening, refactoring, thinking, rethinking and fiddling around
for what ultimately boils down adding this method to BundledComponentRepository:

    @Override // from IMImageProvider
    public Mirage getTileImage (String path, Rectangle bounds, Colorization[] zations)
    {
        // we don't need our images prepared for screen rendering
        BufferedImage src = _imgr.getImage(getImageKey(path), zations);
        if (bounds != null) {
            src = src.getSubimage(bounds.x, bounds.y, bounds.width, bounds.height);
        }
        return new BufferedMirage(src);
    }

So much fun to revisit code I wrote six years ago.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@283 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-08-03 22:04:04 +00:00
..
2007-02-24 00:38:17 +00:00
2007-06-26 00:07:47 +00:00
2007-06-26 00:07:47 +00:00
2007-06-26 00:07:47 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-06-26 00:07:47 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-06-26 00:07:47 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00
2007-02-24 00:38:17 +00:00