[mapguide-commits] r8365 - branches/2.6/MgDev/Server/src/Services/Mapping

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Sep 29 05:29:43 PDT 2014


Author: jng
Date: 2014-09-29 05:29:43 -0700 (Mon, 29 Sep 2014)
New Revision: 8365

Modified:
   branches/2.6/MgDev/Server/src/Services/Mapping/MappingUtil.cpp
Log:
#2490: Render legend image icons with transparent background

Modified: branches/2.6/MgDev/Server/src/Services/Mapping/MappingUtil.cpp
===================================================================
--- branches/2.6/MgDev/Server/src/Services/Mapping/MappingUtil.cpp	2014-09-29 11:24:00 UTC (rev 8364)
+++ branches/2.6/MgDev/Server/src/Services/Mapping/MappingUtil.cpp	2014-09-29 12:29:43 UTC (rev 8365)
@@ -1207,7 +1207,7 @@
     if (!fts)
         return NULL;
 
-    RS_Color bgcolor(255, 255, 255, 255);
+    RS_Color bgcolor(255, 255, 255, 0);
 
     // get the right renderer going
     AGGRenderer er(imgWidth, imgHeight, bgcolor, false, false, 0.0);



More information about the mapguide-commits mailing list