Lines Matching refs:im
11 $im = imagecreate(10, 10);
12 imagecolorallocate($im, 255, 255, 255);
13 $red = imagecolorallocate($im, 255, 0, 0);
14 imagefilledrectangle($im, 3,3, 7,7, $red);
17 imagepng($im, $filename);
19 $im = imagecreate(10, 10);
20 imagecolorallocate($im, 255, 255, 255);
21 $blue = imagecolorallocate($im, 0, 0, 255);
22 imagefilledrectangle($im, 3,3, 7,7, $blue);
24 test_image_equals_file($filename, $im);
26 $im = imagecreate(10, 10);
27 imagecolorallocate($im, 255, 255, 255);
28 imagecolorallocate($im, 0, 0, 0);
29 $red = imagecolorallocate($im, 255, 0, 0);
30 imagefilledrectangle($im, 3,3, 7,7, $red);
32 test_image_equals_file($filename, $im);