[Mapguide-trac] [mapguide-trac] #2285: DOTS hatch pattern from DWF files not rendering using AGG Renderer
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Jun 5 00:30:53 PDT 2013
#2285: DOTS hatch pattern from DWF files not rendering using AGG Renderer
-------------------------------+--------------------------------------------
Reporter: fare | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: Drawing Service | Version: 2.5.0
Severity: minor | Keywords:
External_id: |
-------------------------------+--------------------------------------------
If DWF file contains DOTS hatch pattern filled object, it will not render
if AGG Renderer is used.
Dots from DWF file are processed as lines with same starting and ending
coordinates(length is 0). Method _TransferPoints from AGGRenderer class
is not correctly handling lines that have length=0.
Proposed patch works around this problem. If line length is 0 then line is
rendered using value 2*LINE_SEGMENT_DOT_SIZE as it's length. This
effectively fixes problem of rendering DOTS hats from DWF.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2285>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list