1 |
|
2003-04-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Safer implementation of the performance enhancements of the |
4 |
|
low-level renderer: |
5 |
|
|
6 |
|
* extensions/thuban/wxproj.cpp (extract_projection) |
7 |
|
(extract_pointer): Rename extract_projection to extract_pointer |
8 |
|
and redefine its purpose to return the pointer stored in a CObject |
9 |
|
returned by the object's cobject method. Update all callers. |
10 |
|
(s_draw_info, free_draw_info, draw_polygon_init): Implement the |
11 |
|
handling of these low-level parameters so that each s_draw_info |
12 |
|
instance is handled as a CObject at python level that also |
13 |
|
contains real references to the actual python objects which |
14 |
|
contain the values in the struct. Add free_draw_info as the |
15 |
|
destructor. |
16 |
|
(draw_polygon_shape): Add the py_draw_info parameter which must a |
17 |
|
cobject containing an s_draw_info pointer. |
18 |
|
|
19 |
|
* Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New |
20 |
|
method to instantiat the low-level render parameter |
21 |
|
(MapRenderer.draw_shape_layer): Use the new method. Remove some |
22 |
|
commented out code. |
23 |
|
(MapRenderer.draw_polygon_shape): Make the first parameter not the |
24 |
|
layer but the low-level render parameter |
25 |
|
(ScreenRenderer.draw_shape_layer): Use the low-level render |
26 |
|
parameter. |
27 |
|
|
28 |
2003-04-15 Jonathan Coles <[email protected]> |
2003-04-15 Jonathan Coles <[email protected]> |
29 |
|
|
30 |
* Thuban/Model/classification.py: Implemented __repr__ for |
* Thuban/Model/classification.py: Implemented __repr__ for |