[mapserver-commits] r8989 - sandbox/graphics

svn at osgeo.org svn at osgeo.org
Fri May 1 14:42:16 EDT 2009


Author: tbonfort
Date: 2009-05-01 14:42:16 -0400 (Fri, 01 May 2009)
New Revision: 8989

Modified:
   sandbox/graphics/maprendering.c
Log:
use bright red on unsupported polygon+symbol rendering


Modified: sandbox/graphics/maprendering.c
===================================================================
--- sandbox/graphics/maprendering.c	2009-05-01 18:30:10 UTC (rev 8988)
+++ sandbox/graphics/maprendering.c	2009-05-01 18:42:16 UTC (rev 8989)
@@ -500,6 +500,14 @@
                 }
                 goto cleanup; /*finished plain polygon*/
             }
+            else {
+//temp code wgile symbols are unsupported
+                colorObj red;
+                MS_INIT_COLOR(red,255,0,0);
+                red.alpha=255;
+                r->renderPolygon(image,offsetPolygon,&red);
+                goto cleanup; /*finished plain polygon*/
+            }
 #if 0		
             else {
         	    double size, angle_radians, width,scaling;



More information about the mapserver-commits mailing list