note 36919 added to function.imagedashedline

From: Date: Mon, 27 Oct 2003 11:53:37 +0000
Subject: note 36919 added to function.imagedashedline
Groups: php.notes 
Request: Send a blank email to php-notes+get-59371@lists.php.net to get a copy of this message
Examples of circles, arc and rectangle // ------------------------------------------------- By sohail Abbas Gondal // ------------------------------------------------- <? $values = array( 0 => 40, 1 => 50, 2 => 20, 3 => 240, 4 => 60, 5 => 60, 6 => 240, 7 => 20, 8 => 50, 9 => 40, 10 => 10, 11 => 10 ); $pic=ImageCreate(600,600); $col1=ImageColorAllocate($pic,200,200,200); $col2=ImageColorAllocate($pic,0,0,255); $col3=ImageColorAllocate($pic,225,255,0); ImageFilledRectangle($pic,40,40,200,200,$col2); ImageFilledPolygon($pic, $values, 6, $col3 ); ImageFilledArc ( $pic, 250, 250, 200, 200, 0, 360, $col3, IMG_ARC_PIE); ImageDashedLine ( $pic, 10, 10, 100, 100, col3); ImagePNG($pic); ImageDestroy($pic); ?> ---- Manual Page -- http://www.php.net/manual/en/function.imagedashedline.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36919 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36919&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36919&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59371) next »