Revision 20596 trunk/extensions/extAnnotations/src/com/iver/cit/gvsig/fmap/layers/Annotation_Layer.java
Annotation_Layer.java | ||
---|---|---|
784 | 784 |
// } |
785 | 785 |
// p=new Point2D.Double(r.getCenterX(),r.getCenterY()); |
786 | 786 |
if (unit!=-1) { |
787 |
height = vp.fromMapDistance((int) (height)*MapContext.CHANGEM[unit]);
|
|
787 |
height = vp.fromMapDistance((int) (height)*MapContext.getDistanceTrans2Meter()[unit]);
|
|
788 | 788 |
} |
789 | 789 |
|
790 | 790 |
Font font = new Font(type, style, |
... | ... | |
833 | 833 |
int size=textSymbol.getFont().getSize(); |
834 | 834 |
double resolutionPrinting=0; |
835 | 835 |
if (unit!=-1){ |
836 |
size=viewPort.fromMapDistance(size*MapContext.CHANGEM[unit]);
|
|
836 |
size=viewPort.fromMapDistance(size*MapContext.getDistanceTrans2Meter()[unit]);
|
|
837 | 837 |
} |
838 | 838 |
if (properties!=null){ |
839 | 839 |
PrintQuality resolution=(PrintQuality)properties.get(PrintQuality.class); |
Also available in: Unified diff