1 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Now the hit test considers the size of point symbols. |
4 |
|
|
5 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
6 |
|
'size' defaulting to the previously fixed value 5. |
7 |
|
Extended doc-string. |
8 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
9 |
|
for symbols. |
10 |
|
Now the size of the largest point symbol is determined to find out |
11 |
|
about whether the point has been hit. |
12 |
|
This fixes the problem that only clicks inside a fixed distance of |
13 |
|
5 where found. |
14 |
|
|
15 |
2004-11-17 Jan-Oliver Wagner <[email protected]> |
2004-11-17 Jan-Oliver Wagner <[email protected]> |
16 |
|
|
17 |
Another open issue regarding sizeable symbols: correct rendering of |
Another open issue fixed regarding sizeable symbols: correct rendering of |
18 |
selected symbols. |
selected symbols. |
19 |
|
|
20 |
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |