Author: kn
Date: Mon Jan  7 09:54:46 2008
New Revision: 7081

Log:
- Fixed issue #12254: Bad property-check for strokeLineJoin in SVG driver

Modified:
    trunk/Graph/ChangeLog
    trunk/Graph/src/options/svg_driver.php
    trunk/Graph/tests/driver_svg_test.php

Modified: trunk/Graph/ChangeLog
==============================================================================
--- trunk/Graph/ChangeLog [iso-8859-1] (original)
+++ trunk/Graph/ChangeLog [iso-8859-1] Mon Jan  7 09:54:46 2008
@@ -2,6 +2,7 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 - Implemented feature #9407: Cairo driver
+- Fixed issue #12254: Bad property-check for strokeLineJoin in SVG driver
 
 1.2 - Monday 17 December 2007
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Modified: trunk/Graph/src/options/svg_driver.php
==============================================================================
--- trunk/Graph/src/options/svg_driver.php [iso-8859-1] (original)
+++ trunk/Graph/src/options/svg_driver.php [iso-8859-1] Mon Jan  7 09:54:46 2008
@@ -139,8 +139,8 @@
             case 'strokeLineJoin':
                 $values = array(
                     'round',
-                    'butt',
-                    'square',
+                    'miter',
+                    'bevel',
                     'inherit',
                 );
 

Modified: trunk/Graph/tests/driver_svg_test.php
==============================================================================
--- trunk/Graph/tests/driver_svg_test.php [iso-8859-1] (original)
+++ trunk/Graph/tests/driver_svg_test.php [iso-8859-1] Mon Jan  7 09:54:46 2008
@@ -1656,9 +1656,9 @@
             'Wrong default value for property strokeLineJoin in class 
ezcGraphSvgDriverOptions'
         );
 
-        $options->strokeLineJoin = 'butt';
-        $this->assertSame(
-            'butt',
+        $options->strokeLineJoin = 'miter';
+        $this->assertSame(
+            'miter',
             $options->strokeLineJoin,
             'Setting property value did not work for property strokeLineJoin 
in class ezcGraphSvgDriverOptions'
         );


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to