Revision 28367 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/MultiLayerMarkerSymbol.java
MultiLayerMarkerSymbol.java | ||
---|---|---|
104 | 104 |
|
105 | 105 |
import javax.print.attribute.PrintRequestAttributeSet; |
106 | 106 |
|
107 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
108 | 107 |
import com.iver.cit.gvsig.fmap.ViewPort; |
109 | 108 |
import com.iver.cit.gvsig.fmap.core.FPoint2D; |
110 | 109 |
import com.iver.cit.gvsig.fmap.core.FShape; |
... | ... | |
192 | 191 |
g.rotate(-rotation, p.getX(), p.getY()); |
193 | 192 |
} |
194 | 193 |
|
195 |
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r) throws SymbolDrawingException { |
|
194 |
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r, PrintRequestAttributeSet properties) throws SymbolDrawingException {
|
|
196 | 195 |
g.rotate(rotation, r.getCenterX(), r.getCenterY()); |
197 | 196 |
for (int i = 0; i < layers.length; i++) { |
198 |
layers[i].drawInsideRectangle(g, scaleInstance, r); |
|
197 |
layers[i].drawInsideRectangle(g, scaleInstance, r, properties);
|
|
199 | 198 |
} |
200 | 199 |
g.rotate(-rotation, r.getCenterX(), r.getCenterY()); |
201 | 200 |
} |
... | ... | |
266 | 265 |
} |
267 | 266 |
|
268 | 267 |
|
269 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) |
|
270 |
throws ReadDriverException { |
|
268 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) { |
|
271 | 269 |
for (int i = 0; i < layers.length; i++) { |
272 | 270 |
layers[i].print(g, at, shape, properties); |
273 | 271 |
} |
Also available in: Unified diff