(Roi roi, int hdr2Offset)
| 450 | } |
| 451 | |
| 452 | void putName(Roi roi, int hdr2Offset) { |
| 453 | int offset = hdr2Offset+HEADER2_SIZE; |
| 454 | int nameLength = roiNameSize/2; |
| 455 | putInt(hdr2Offset+RoiDecoder.NAME_OFFSET, offset); |
| 456 | putInt(hdr2Offset+RoiDecoder.NAME_LENGTH, nameLength); |
| 457 | for (int i=0; i<nameLength; i++) |
| 458 | putShort(offset+i*2, roiName.charAt(i)); |
| 459 | } |
| 460 | |
| 461 | void putProps(Roi roi, int hdr2Offset) { |
| 462 | int offset = hdr2Offset+HEADER2_SIZE+roiNameSize; |
no test coverage detected