/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 674 by jonathan, Tue Apr 15 19:19:48 2003 UTC revision 687 by bh, Wed Apr 16 13:22:45 2003 UTC
# Line 1  Line 1 
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]>
29    
30            * Thuban/Model/classification.py: Implemented __repr__ for
31            the ClassGroup* classes to make debugging a bit easier.
32            (ClassGroup.SetLabel): Check that the string is an instance
33            of StringTypes not StringType. Accounts for Unicode strings.
34    
35            * Thuban/Model/color.py: Implemented __repr__ to make
36            debugging a bit easier.
37    
38            * Thuban/Model/save.py (Saver.write_classification): Need to
39            save the group label.
40    
41            * test/test_load.py (testClassification): New. Loads the
42            iceland_sample_test.thuban file and checks if it was loaded
43            correctly.
44    
45  2003-04-15  Jonathan Coles   <[email protected]>  2003-04-15  Jonathan Coles   <[email protected]>
46    
47          * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used          * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used

Legend:
Removed from v.674  
changed lines
  Added in v.687

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26