| 119 | // drawing related stuff ... |
| 120 | |
| 121 | int draw_round (double x) |
| 122 | { |
| 123 | if (x < -10000.0) { |
| 124 | return -10000; |
| 125 | } else if (x > 10000.0) { |
| 126 | return 10000; |
| 127 | } else { |
| 128 | return x > 0 ? int (x + 0.5) : int (x - 0.5); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | db::Point draw_round (db::DPoint p, int h) |
| 133 | { |
no test coverage detected