tony2001                Mon May 24 08:35:22 2004 EDT

  Modified files:              
    /phpdoc/en/reference/image/functions        imagearc.xml 
  Log:
  fix imagearc() example
  change drawing direction to the right one
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagearc.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/image/functions/imagearc.xml
diff -u phpdoc/en/reference/image/functions/imagearc.xml:1.5 
phpdoc/en/reference/image/functions/imagearc.xml:1.6
--- phpdoc/en/reference/image/functions/imagearc.xml:1.5        Thu May 29 16:22:12 
2003
+++ phpdoc/en/reference/image/functions/imagearc.xml    Mon May 24 08:35:22 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagearc">
   <refnamediv>
@@ -28,7 +28,7 @@
     height respectively while the start and end points are specified
     in degrees indicated by the <parameter>s</parameter> and
     <parameter>e</parameter> arguments. 0&deg; is located at the three-o'clock
-    position, and the arc is drawn counter-clockwise.
+    position, and the arc is drawn clockwise.
    </para>
    <example>
     <title>Drawing a circle with <function>imagearc</function></title>
@@ -41,9 +41,10 @@
 
 // allocate some colors
 $white = imagecolorallocate($img, 255, 255, 255);
+$black = imagecolorallocate($img, 0, 0, 0);
    
 // draw a white circle 
-imagearc($img, 100, 100, 150, 150, 0, 360, $white);
+imagearc($img, 100, 100, 150, 150, 0, 360, $black);
 
 // output image in the browser
 header("Content-type: image/png");

Reply via email to