1 |
|
2003-05-09 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0. |
4 |
|
|
5 |
|
2003-05-08 Frank Koormann <[email protected]> |
6 |
|
|
7 |
|
Coding style updates |
8 |
|
|
9 |
|
* test/test_scalebar.py: Replaced tab indentation by spaces. |
10 |
|
|
11 |
|
* Thuban/UI/scalebar.py: Explicit imports. |
12 |
|
|
13 |
|
2003-05-08 Frank Koormann <[email protected]> |
14 |
|
|
15 |
|
* Thuban/UI/scalebar.py |
16 |
|
(ScaleBar.DrawScalebar): Format string bug fixed. |
17 |
|
|
18 |
|
2003-05-08 Frank Koormann <[email protected]> |
19 |
|
|
20 |
|
Reorganization of scalebar component (no wx in Thuban/Model) |
21 |
|
|
22 |
|
* Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py |
23 |
|
(deriveInterval): |
24 |
|
Calculate scalebar interval and unit which fits in width for scale. |
25 |
|
(roundInterval): Round float. |
26 |
|
|
27 |
|
* Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering |
28 |
|
|
29 |
|
* test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods. |
30 |
|
|
31 |
|
* Thuban/UI/legend.py: Import Thuban.UI.scalebar |
32 |
|
|
33 |
2003-05-08 Frank Koormann <[email protected]> |
2003-05-08 Frank Koormann <[email protected]> |
34 |
|
|
35 |
* Thuban/UI/legend.py (ScalebarBitmap.SetCanvas): |
* Thuban/UI/legend.py (ScalebarBitmap.SetCanvas): |