* Map a position on the map to screen coordinates */
| 601 | * Map a position on the map to screen coordinates |
| 602 | */ |
| 603 | static void |
| 604 | pos_rect(tty_record *record, Rect *r, short x_pos, short y_pos, short x_end, |
| 605 | short y_end) |
| 606 | { |
| 607 | SetRect(r, x_pos * (record->char_width), y_pos * (record->row_height), |
| 608 | (1 + x_end) * (record->char_width), |
| 609 | (1 + y_end) * (record->row_height)); |
| 610 | } |
| 611 | |
| 612 | static void |
| 613 | accumulate_rect(tty_record *record, Rect *rect) |
no outgoing calls
no test coverage detected