/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py

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

revision 2635 by jan, Tue Jun 28 06:48:45 2005 UTC revision 2668 by jan, Thu Aug 18 21:54:25 2005 UTC
# Line 265  class ScreenRenderer(MapRenderer): Line 265  class ScreenRenderer(MapRenderer):
265              # Get the size of the specific property for this              # Get the size of the specific property for this
266              # point              # point
267              if shapetype == SHAPETYPE_POINT:              if shapetype == SHAPETYPE_POINT:
268                  if field is not None:                  if field is not None:
269                      value = table.ReadValue(shape.ShapeID(), field)                      value = table.ReadValue(shape.ShapeID(), field)
270                      group = lc.FindGroup(value)                      group = lc.FindGroup(value)
271                      size = group.GetProperties().GetSize()                      size = group.GetProperties().GetSize()
272                  else:                  else:
273                      size = lc.GetDefaultSize()                      size = lc.GetDefaultGroup().GetProperties().GetSize()
274                  args = (pen, brush, size)                  args = (pen, brush, size)
275    
276              if useraw:              if useraw:

Legend:
Removed from v.2635  
changed lines
  Added in v.2668

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26