git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271218 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yannick Torres 2008-12-14 08:50:23 +00:00
parent 33b610fdb8
commit 25ce1628be

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<refentry xml:id="function.imagedashedline" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagedashedline</refname>
@ -117,15 +117,15 @@ $white = imagecolorallocate($im, 0xFF, 0xFF, 0xFF);
// Define our style: First 4 pixels is white and the
// next 4 is transparent. This creates the dashed line effect
$style = Array(
$white,
$white,
$white,
$white,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT
);
$white,
$white,
$white,
$white,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT,
IMG_COLOR_TRANSPARENT
);
imagesetstyle($im, $style);