[mapserver-commits] r10284 - sandbox/mapserver6
svn at osgeo.org
svn at osgeo.org
Tue Jul 6 02:57:05 EDT 2010
Author: tbonfort
Date: 2010-07-06 06:57:05 +0000 (Tue, 06 Jul 2010)
New Revision: 10284
Modified:
sandbox/mapserver6/mapscale.c
Log:
fix scalebar transparency
Modified: sandbox/mapserver6/mapscale.c
===================================================================
--- sandbox/mapserver6/mapscale.c 2010-07-06 04:04:45 UTC (rev 10283)
+++ sandbox/mapserver6/mapscale.c 2010-07-06 06:57:05 UTC (rev 10284)
@@ -369,6 +369,10 @@
embededSymbol->name = strdup("scalebar");
embededSymbol->sizex = embededSymbol->pixmap_buffer->width;
embededSymbol->sizey = embededSymbol->pixmap_buffer->height;
+ if(map->scalebar.transparent) {
+ embededSymbol->transparent = MS_TRUE;
+ embededSymbol->transparentcolor = 0;
+ }
switch(map->scalebar.position) {
case(MS_LL):
More information about the mapserver-commits
mailing list