Lines Matching refs:im
10 $im = imagecreatetruecolor(256, 256);
12 $white = imagecolorallocatealpha($im, 255, 255, 255, 10);
13 $black = imagecolorallocatealpha($im, 0, 0, 0, 10);
14 $red = imagecolorallocatealpha($im, 255, 0, 0, 10);
15 $green = imagecolorallocatealpha($im, 0, 255, 0, 10);
16 $blue = imagecolorallocatealpha($im, 0, 0, 255, 10);
17 $yellow = imagecolorallocatealpha($im, 255, 255, 0, 10);
18 $cyan = imagecolorallocatealpha($im, 0, 255, 255, 10);
19 $magenta = imagecolorallocatealpha($im, 255, 0, 255, 10);
20 $purple = imagecolorallocatealpha($im, 100, 0, 100, 10);
22 imagefilledrectangle($im, 0, 0, 255, 255, $white);
36 imagefilledpolygon($im, $points, 5, $yellow);
50 imagefilledpolygon($im, $points, 5, $purple);
64 imagefilledpolygon($im, $points, 5, $magenta);
78 imagefilledpolygon($im, $points, 5, $blue);
84 imagefilledpolygon($im, $diamond, 4, $green);
89 imagefilledpolygon($im, $diamond, 4, $red);
94 imagefilledpolygon($im, $diamond, 4, $cyan);
107 imagefilledpolygon($im, $points, 5, $black);
110 test_image_equals_file(__DIR__ . '/libgd00100.png', $im);
112 imagedestroy($im);