| 803 | } |
| 804 | |
| 805 | void Selection::SetBox(int64_t offset, int bytesPerLine, int width, int height) { |
| 806 | _type = SelectionType::Box; |
| 807 | _offset = offset; |
| 808 | _width = width; |
| 809 | _height = height; |
| 810 | _bytesPerLine = bytesPerLine; |
| 811 | } |
| 812 | |
| 813 | void Selection::SetAnchor(int64_t offset) { |
| 814 | _anchor = offset; |