Revision 11486 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/styling/LinePlacementConstraints.java

View differences:

LinePlacementConstraints.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.8  2007-04-18 15:35:11  jaume
46
* Revision 1.9  2007-05-08 08:47:40  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.8  2007/04/18 15:35:11  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.7  2007/04/13 11:59:30  jaume
50 53
* *** empty log message ***
51 54
*
......
102 105

  
103 106
	public void placeLabel(Graphics2D g, IGeometry geom, LabelClass lc, MultiPolygon exclusionZone, AffineTransform at) {
104 107
		Rectangle labelBounds = lc.getShape(g, at, geom).getBounds();
108
		if (labelBounds.width == 0 || labelBounds.height == 0) return;
105 109

  
106

  
107 110
		FPoint2D startingPoint = null;
108 111
		double theta = 0;
109 112
		if (isFollowingLine()) {

Also available in: Unified diff