Lines Matching refs:image
11 /* Prototype : bool imagedashedline ( resource $image , int $x1 , int $y1 , int $x2 , int $y2…
14 * Source code: ext/standard/image.c
23 // create a blank image
24 $image = imagecreatetruecolor(250, 250);
27 $bg = imagecolorallocate($image, 0, 0, 0);
30 $col_line = imagecolorallocate($image, 255, 0, 0);
33 imagedashedline($image, 100, 20, 100, 230, $col_line );
34 imagedashedline($image, 150, 20, 150, 230, $col_line );
37 imagepng($image, $dest);
40 $col1 = imagecolorat($image, 100, 230);
42 $col2 = imagecolorat($image, 5, 5);
44 $color1 = imagecolorsforindex($image, $col1);
45 $color2 = imagecolorsforindex($image, $col2);
48 imagedestroy($image);