| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | 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); |
| | | |
| | |
| | | |
| | | height += raw[22] & 0x0000ffff; |
| | | |
| | | return Utility.ConverIntToDouble(height); |
| | | return Utility.converIntToDouble(height); |
| | | } |
| | | |
| | | public double getTextWidth() |
| | |
| | | |
| | | length += raw[20] & 0x0000ffff; |
| | | |
| | | return Utility.ConverIntToDouble(length); |
| | | return Utility.converIntToDouble(length); |
| | | } |
| | | |
| | | public int getJustification() |
| | |
| | | |
| | | totation += raw[24] & 0x0000ffff; |
| | | |
| | | return Utility.ConverIntToRotation(totation); |
| | | return Utility.converIntToRotation(totation); |
| | | } |
| | | |
| | | public boolean isChinese() |