| | |
| | | |
| | | x += (int) (raw[20 + (4 * index)] & 0x0000ffff); |
| | | |
| | | return Utility.ConverUnitToCoord(x); |
| | | return Utility.converUnitToCoord(x); |
| | | } |
| | | |
| | | protected void setX(int index, double dx) |
| | | { |
| | | int newVal = Utility.ConverCoordToUnit(dx); |
| | | int newVal = Utility.converCoordToUnit(dx); |
| | | |
| | | raw[19 + (4 * index)] = (short) (newVal >> 16 & 0x0000ffff); |
| | | raw[20 + (4 * index)] = (short) (newVal & 0x0000ffff); |
| | |
| | | |
| | | y = y + (int) (raw[22 + (4 * index)] & 0x0000ffff); |
| | | |
| | | return Utility.ConverUnitToCoord(y); |
| | | return Utility.converUnitToCoord(y); |
| | | } |
| | | |
| | | protected void setY(int index, double dy) |
| | | { |
| | | int newVal = Utility.ConverCoordToUnit(dy); |
| | | int newVal = Utility.converCoordToUnit(dy); |
| | | |
| | | raw[21 + (4 * index)] = (short) ((newVal >> 16) & 0x0000ffff); |
| | | raw[22 + (4 * index)] = (short) (newVal & 0x0000ffff); |