Revision 43230 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.compat/org.gvsig.compat.se/src/main/java/org/gvsig/compat/se/lang/SEGraphUtils.java
SEGraphUtils.java | ||
---|---|---|
38 | 38 |
/** |
39 | 39 |
* JSE (Desktop Java) implementation of {@link GraphicsUtils} |
40 | 40 |
* |
41 |
* @author Juan Lucas Dominguez Rubio jldominguez at prodevelop.es |
|
42 |
* |
|
43 | 41 |
* @see GraphicsUtils |
44 | 42 |
* |
45 | 43 |
*/ |
46 | 44 |
public class SEGraphUtils implements GraphicsUtils{ |
47 | 45 |
|
46 |
@Override |
|
48 | 47 |
public BufferedImage copyBufferedImage(BufferedImage img) { |
49 | 48 |
BufferedImage newImage = |
50 | 49 |
ToolsSwingLocator.getToolsSwingManager() |
... | ... | |
52 | 51 |
return newImage; |
53 | 52 |
} |
54 | 53 |
|
54 |
public BufferedImage createBufferedImage(int w, int h, int type) { |
|
55 |
|
|
56 |
BufferedImage res = new BufferedImage( |
|
57 |
|
|
58 |
w, |
|
59 |
|
|
60 |
h, |
|
61 |
|
|
62 |
type); |
|
63 |
|
|
64 |
return res; |
|
65 |
|
|
66 |
} |
|
67 |
|
|
55 | 68 |
public PrintAttributes createPrintAttributes() { |
56 | 69 |
return new SePrintAttributes(); |
57 | 70 |
} |
Also available in: Unified diff