DOTS hatch pattern from DWF files not rendering using AGG Renderer
|Reported by:||fare||Owned by:||waltweltonlair|
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.