Revision 813 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/legendmanager/panels/FPreviewSymbol.java
FPreviewSymbol.java | ||
---|---|---|
58 | 58 |
super.paintComponent(g); |
59 | 59 |
if (m_FSymbol == null) |
60 | 60 |
{ |
61 |
System.err.println("Entra un s?mbolo nulo en FPreviewSymbol"); |
|
62 | 61 |
return; |
63 | 62 |
} |
64 | 63 |
// Seg?n el tipo de s?mbolo, creamos un shape u otro y utilizamos |
... | ... | |
68 | 67 |
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); |
69 | 68 |
|
70 | 69 |
|
71 |
// g.setClip(0,0,getWidth(), getHeight());
|
|
70 |
g.setClip(0,0,getWidth(), getHeight()); |
|
72 | 71 |
Rectangle r = g.getClipBounds(); //getClipRect(); |
72 |
// g.clipRect(r.x, r.y, r.width, r.height); |
|
73 | 73 |
// g.setColor(Color.WHITE); |
74 | 74 |
// g2.fillRect(0, 0,getWidth(), getHeight()); |
75 | 75 |
if (m_bUseFSymbol) |
Also available in: Unified diff