Revision 12672 trunk/libraries/libFMap/src-test/com/iver/cit/gvsig/fmap/core/symbols/TestDrawLines.java
TestDrawLines.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
1 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana. |
4 | 4 |
* |
... | ... | |
20 | 20 |
* |
21 | 21 |
* Generalitat Valenciana |
22 | 22 |
* Conselleria d'Infraestructures i Transport |
23 |
* Av. Blasco Ib??ez, 50
|
|
23 |
* Av. Blasco Ib��ez, 50
|
|
24 | 24 |
* 46010 VALENCIA |
25 | 25 |
* SPAIN |
26 | 26 |
* |
... | ... | |
150 | 150 |
// g.draw(gpDown); |
151 | 151 |
// |
152 | 152 |
// try { |
153 |
// ImageIO.write(bi, "png", |
|
154 |
// new File("E:/prova-imatges/"+ |
|
153 |
// |
|
154 |
// File dstDir = new File (System.getProperty("java.io.tmpdir")+"/prova-imatges/"); |
|
155 |
// if (!dstDir.exists()) dstDir.mkdir(); |
|
156 |
// ImageIO.write(bi, "png", |
|
157 |
// new File(dstDir.getAbsoluteFile()+File.separator+ |
|
155 | 158 |
// name+"_size_"+sizes[j] |
156 |
// +".png")); |
|
159 |
// +".png"));
|
|
157 | 160 |
// } catch (IOException e) { |
158 | 161 |
// e.printStackTrace(); |
159 | 162 |
// fail(); |
Also available in: Unified diff