137 |
h = d.height; |
h = d.height; |
138 |
|
|
139 |
MipzipLoader l; |
MipzipLoader l; |
140 |
|
String path = "XXX"; |
|
String path = MipzipCache.getPageFiles(sb)[page]; |
|
141 |
|
|
142 |
try { |
try { |
143 |
|
path = MipzipCache.getPageFiles(sb)[page]; |
144 |
|
|
145 |
l = new MipzipLoader(new File(path)); |
l = new MipzipLoader(new File(path)); |
146 |
} catch(IOException e) { |
} catch(IOException e) { |
147 |
e.printStackTrace(); |
e.printStackTrace(); |
148 |
throw new Error("MipzipLoader threw '" + e + "' for " + |
throw new Error("MipzipLoader threw '" + e + "' for " + |
149 |
f); |
path); |
150 |
} |
} |
151 |
Dimension largest = l.getLevelSize(0); |
Dimension largest = l.getLevelSize(0); |
152 |
x1 = d.width / (float)largest.width; |
x1 = d.width / (float)largest.width; |