/[thuban]/trunk/thuban/Extensions/svgexport/svgmapwriter.py
ViewVC logotype

Diff of /trunk/thuban/Extensions/svgexport/svgmapwriter.py

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

revision 2731 by bernhard, Mon Oct 17 20:10:18 2005 UTC revision 2732 by bernhard, Mon Feb 26 23:02:25 2007 UTC
# Line 326  class SVGRenderer(BaseRenderer): Line 326  class SVGRenderer(BaseRenderer):
326                  data = shape.Points()                  data = shape.Points()
327    
328              if shapeType==SHAPETYPE_POINT:              if shapeType==SHAPETYPE_POINT:
329                  draw_func(draw_func_param, data, pen, brush,                  draw_func(draw_func_param, data, pen, brush,
330                             size = group.GetProperties().GetSize())                             size = group.GetProperties().GetSize())
331              elif shapeType==SHAPETYPE_ARC:              elif shapeType==SHAPETYPE_ARC:
332                  # do not fill the polylines in linestring layers              # do not fill the polylines in linestring layers
333                  draw_func(draw_func_param, data, pen, TRANSPARENT_BRUSH)                  draw_func(draw_func_param, data, pen, TRANSPARENT_BRUSH)
334              else:              else:
335                   draw_func(draw_func_param, data, pen, brush)                   draw_func(draw_func_param, data, pen, brush)
336              # compatibility              # compatibility
# Line 380  class VirtualDC(XMLWriter): Line 380  class VirtualDC(XMLWriter):
380      All shapes and graphic objects will be turned into      All shapes and graphic objects will be turned into
381      SVG elements and will be written into a file.      SVG elements and will be written into a file.
382      Any properties, such as stroke width or stroke color,      Any properties, such as stroke width or stroke color,
383      will be written together with the SVG elementents.      will be written together with the SVG elements.
384      """      """
385      def __init__(self, file, dim=(0,0), units=''):      def __init__(self, file, dim=(0,0), units=''):
386          """Setup some variables and objects for property collection."""          """Setup some variables and objects for property collection."""

Legend:
Removed from v.2731  
changed lines
  Added in v.2732

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26