[mapserver-commits] r11364 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Mar 29 10:30:37 EDT 2011
Author: tbonfort
Date: 2011-03-29 07:30:37 -0700 (Tue, 29 Mar 2011)
New Revision: 11364
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapagg.cpp
Log:
fix incorrect PATTERN behavior on agg lines (#3787)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-29 14:29:37 UTC (rev 11363)
+++ trunk/mapserver/HISTORY.TXT 2011-03-29 14:30:37 UTC (rev 11364)
@@ -14,6 +14,7 @@
Current Version (SVN trunk):
----------------------------
+- fix incorrect PATTERN behavior on agg lines (#3787)
- report SOS DescribeObservationType in Capabilities (#3777)
Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp 2011-03-29 14:29:37 UTC (rev 11363)
+++ trunk/mapserver/mapagg.cpp 2011-03-29 14:30:37 UTC (rev 11364)
@@ -179,10 +179,10 @@
dash.add_dash(MS_MAX(1,MS_NINT(style->pattern[i])),
MS_MAX(1,MS_NINT(style->pattern[i + 1])));
}
- stroke_dash.width(style->width);
- applyCJC(stroke_dash, style->linecap, style->linejoin);
- r->m_rasterizer_aa.add_path(stroke_dash);
}
+ stroke_dash.width(style->width);
+ applyCJC(stroke_dash, style->linecap, style->linejoin);
+ r->m_rasterizer_aa.add_path(stroke_dash);
}
mapserver::render_scanlines(r->m_rasterizer_aa, r->sl_line, r->m_renderer_scanline);
return MS_SUCCESS;
More information about the mapserver-commits
mailing list