[mapserver-commits] r7927 - in trunk/mapserver: . mapscript/php3

svn at osgeo.org svn at osgeo.org
Thu Sep 25 17:02:50 EDT 2008


Author: aboudreault
Date: 2008-09-25 17:02:50 -0400 (Thu, 25 Sep 2008)
New Revision: 7927

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
Added support to access to the labelObj OUTLINEWIDTH property in PHP/MapScript 


Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-09-25 19:30:26 UTC (rev 7926)
+++ trunk/mapserver/HISTORY.TXT	2008-09-25 21:02:50 UTC (rev 7927)
@@ -12,8 +12,11 @@
 Current Version (5.3-dev, SVN trunk):
 ------------------------------------
 
- - PHP paste image should also work with AGG (#2682)
+- Added support to access to the labelObj OUTLINEWIDTH property in 
+  PHP/MapScript 
 
+- PHP paste image should also work with AGG (#2682)
+
 - Fixed bug when QUERYMAP hilite color is set and the shape's color in a
   layer is from a data source (#2769)
 

Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c	2008-09-25 19:30:26 UTC (rev 7926)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c	2008-09-25 21:02:50 UTC (rev 7927)
@@ -8659,6 +8659,7 @@
     add_property_long(return_value,   "mindistance",plabel->mindistance);
     add_property_long(return_value,   "partials",   plabel->partials);
     add_property_long(return_value,   "force",      plabel->force);
+    add_property_long(return_value,   "outlinewidth", plabel->outlinewidth);
 
     MAKE_STD_ZVAL(new_obj_ptr);  /* Alloc and Init a ZVAL for new object */
     _phpms_build_color_object(&(plabel->color),list, new_obj_ptr TSRMLS_CC);
@@ -8745,6 +8746,7 @@
     else IF_SET_LONG(  "mindistance",  self->mindistance)
     else IF_SET_LONG(  "partials",     self->partials)
     else IF_SET_LONG(  "force",        self->force)
+    else IF_SET_LONG(  "outlinewidth", self->outlinewidth)
     else
     {
         php3_error(E_ERROR,"Property '%s' does not exist in this object.", 



More information about the mapserver-commits mailing list