forked from geodmms/xdgnjobs

?? ?
2008-05-14 2631b9ee4a3625df1dc66926e8610f93c1ecd81f
xdgnjobs/ximple-dgnio/src/main/java/com/ximple/io/dgn7/TextElement.java
@@ -62,12 +62,12 @@
        x += raw[26] & 0x0000ffff;
        double dx = Utility.ConverUnitToCoord(x);
        double dx = Utility.converUnitToCoord(x);
        int    y  = (int) (raw[27] << 16 & 0xffff0000);
        y += raw[28] & 0x0000ffff;
        double dy = Utility.ConverUnitToCoord(y);
        double dy = Utility.converUnitToCoord(y);
        return new Coordinate(dx, dy);
    }
@@ -78,7 +78,7 @@
        double     x      = origin.x;
        double     weight = getUserSetWeight();
        double     height = getUserSetHeight();
        double     angle  = Utility.ConverRotationToRadian(getRotationAngle());
        double     angle  = Utility.converRotationToRadian(getRotationAngle());
        x += weight * Math.cos(angle) - height * Math.sin(angle);
@@ -186,7 +186,7 @@
        height += raw[22] & 0x0000ffff;
        return Utility.ConverIntToDouble(height);
        return Utility.converIntToDouble(height);
    }
    public double getTextWidth()
@@ -195,7 +195,7 @@
        length += raw[20] & 0x0000ffff;
        return Utility.ConverIntToDouble(length);
        return Utility.converIntToDouble(length);
    }
    public int getJustification()
@@ -209,7 +209,7 @@
        totation += raw[24] & 0x0000ffff;
        return Utility.ConverIntToRotation(totation);
        return Utility.converIntToRotation(totation);
    }
    public boolean isChinese()