[mapserver-commits] r7359 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Wed Feb 6 14:46:37 EST 2008


Author: tbonfort
Date: 2008-02-06 14:46:37 -0500 (Wed, 06 Feb 2008)
New Revision: 7359

Modified:
   branches/branch-5-0/mapserver/HISTORY.TXT
   branches/branch-5-0/mapserver/mapagg.cpp
Log:
fix offsets on pixmap marker symbols (#2493)

Modified: branches/branch-5-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-0/mapserver/HISTORY.TXT	2008-02-06 19:37:15 UTC (rev 7358)
+++ branches/branch-5-0/mapserver/HISTORY.TXT	2008-02-06 19:46:37 UTC (rev 7359)
@@ -12,6 +12,8 @@
 Version 5.0.3 (2008-01-30)
 --------------------------
 
+- fix offsets on pixmap marker symbols (#2493)
+
 - fix segfault in mapserv if STYLE is not definied (#2347)
 
 Version 5.0.2 (2008-01-28)

Modified: branches/branch-5-0/mapserver/mapagg.cpp
===================================================================
--- branches/branch-5-0/mapserver/mapagg.cpp	2008-02-06 19:37:15 UTC (rev 7358)
+++ branches/branch-5-0/mapserver/mapagg.cpp	2008-02-06 19:46:37 UTC (rev 7359)
@@ -1126,7 +1126,7 @@
         GDpixfmt img_pixf(thepixmap);
         //the image comes from GD, we must premultiply it before sending it to AGG
         img_pixf.premultiply();
-        ren->renderPixmapBGRA(img_pixf,p->x,p->y,angle,d);
+        ren->renderPixmapBGRA(img_pixf,p->x+ox,p->y+oy,angle,d);
         delete[](thepixmap.buf());
     }
     break;    



More information about the mapserver-commits mailing list