[mapserver-commits] r13152 - in trunk/mapserver: . mapscript/php

svn at osgeo.org svn at osgeo.org
Wed Feb 15 13:59:22 EST 2012


Author: aboudreault
Date: 2012-02-15 10:59:22 -0800 (Wed, 15 Feb 2012)
New Revision: 13152

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapscript/php/php_mapscript.c
Log:
Added MS_CJC_* constants in PHP/MapScript (#4183)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2012-02-15 18:48:27 UTC (rev 13151)
+++ trunk/mapserver/HISTORY.TXT	2012-02-15 18:59:22 UTC (rev 13152)
@@ -15,6 +15,8 @@
 Current Version (SVN trunk, 6.1-dev, future 6.2): 
 -------------------------------------------------
 
+- Added MS_CJC_* constants in PHP/MapScript (#4183)
+
 - Fixed Memory Leak with Fribidi Strings (#4188)
 
 - Allow multiple label definitions within a class (RFC 77/#4127)

Modified: trunk/mapserver/mapscript/php/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php/php_mapscript.c	2012-02-15 18:48:27 UTC (rev 13151)
+++ trunk/mapserver/mapscript/php/php_mapscript.c	2012-02-15 18:59:22 UTC (rev 13152)
@@ -1198,6 +1198,15 @@
     REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_SHADOWSIZEX", MS_LABEL_BINDING_SHADOWSIZEX, const_flag);
     REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_SHADOWSIZEY", MS_LABEL_BINDING_SHADOWSIZEY, const_flag);
 
+    /* MS_CAPS_JOINS_AND_CORNERS */
+    REGISTER_LONG_CONSTANT("MS_CJC_NONE", MS_CJC_NONE, const_flag);
+    REGISTER_LONG_CONSTANT("MS_CJC_BEVEL", MS_CJC_BEVEL, const_flag);
+    REGISTER_LONG_CONSTANT("MS_CJC_BUTT", MS_CJC_BUTT, const_flag); 
+    REGISTER_LONG_CONSTANT("MS_CJC_MITER", MS_CJC_MITER, const_flag); 
+    REGISTER_LONG_CONSTANT("MS_CJC_ROUND", MS_CJC_ROUND, const_flag); 
+    REGISTER_LONG_CONSTANT("MS_CJC_SQUARE", MS_CJC_SQUARE, const_flag); 
+    REGISTER_LONG_CONSTANT("MS_CJC_TRIANGLE", MS_CJC_TRIANGLE, const_flag); 
+
     /*cgi request types*/
     REGISTER_LONG_CONSTANT("MS_GET_REQUEST", MS_GET_REQUEST, const_flag);
     REGISTER_LONG_CONSTANT("MS_POST_REQUEST", MS_POST_REQUEST, const_flag);



More information about the mapserver-commits mailing list