Revision 18621 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/AbstractMarkerSymbol.java
AbstractMarkerSymbol.java | ||
---|---|---|
201 | 201 |
public void setColor(Color color) { |
202 | 202 |
this.color = color; |
203 | 203 |
} |
204 |
|
|
205 |
public void getPixExtentPlus(FShape shp, float[] distances, ViewPort viewPort, int dpi) { |
|
206 |
float cs = (float) getCartographicSize(viewPort, dpi, shp); |
|
207 |
distances[0] = cs; |
|
208 |
distances[1] = cs; |
|
209 |
} |
|
204 | 210 |
|
211 |
|
|
205 | 212 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) throws ReadDriverException { |
206 | 213 |
double originalSize = getSize(); |
207 | 214 |
// scale it to size |
... | ... | |
220 | 227 |
return mask; |
221 | 228 |
} |
222 | 229 |
|
223 |
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r) { |
|
230 |
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r) throws SymbolDrawingException {
|
|
224 | 231 |
draw(g, scaleInstance, new FPoint2D(r.getCenterX(), r.getCenterY()), null); |
225 | 232 |
} |
226 | 233 |
|
Also available in: Unified diff