Lines Matching refs:base
8 $base = imagecreate(150,150);
11 $white = imagecolorallocate($base,255,255,255);
12 $black = imagecolorallocate($base,0,0,0);
21 imagesettile($base,$tile);
22 imagerectangle($base, 9,9,139,139,$black);
23 imageline($base, 9,9,139,139,$black);
24 imagefill($base,11,12,IMG_COLOR_TILED);
26 $res = imagecolorat($base,0,10)==$black?'1':'0';
27 $res .= imagecolorat($base,0,20)==$black?'1':'0';
28 $res .= imagecolorat($base,0,30)==$black?'1':'0';
29 $res .= imagecolorat($base,0,40)==$black?'1':'0';
30 $res .= imagecolorat($base,0,50)==$black?'1':'0';
31 $res .= imagecolorat($base,0,60)==$black?'1':'0';
33 $res .= imagecolorat($base,11,12)==$white?'1':'0';
34 $res .= imagecolorat($base,12,13)==$white?'1':'0';
35 $res .= imagecolorat($base,13,14)==$white?'1':'0';
36 $res .= imagecolorat($base,14,15)==$white?'1':'0';
37 $res .= imagecolorat($base,15,16)==$white?'1':'0';
38 $res .= imagecolorat($base,16,17)==$white?'1':'0';
40 $res .= imagecolorat($base,10,12)==$black?'1':'0';
41 $res .= imagecolorat($base,11,13)==$black?'1':'0';
42 $res .= imagecolorat($base,12,14)==$black?'1':'0';
43 $res .= imagecolorat($base,13,15)==$black?'1':'0';
44 $res .= imagecolorat($base,14,16)==$black?'1':'0';
45 $res .= imagecolorat($base,15,17)==$black?'1':'0';
48 imagefilledrectangle($base,0,0,149,149,$white);
49 imagerectangle($base, 9,9,139,139,$black);
50 imageline($base, 9,9,139,139,$black);
51 imagefill($base,0,0,IMG_COLOR_TILED);
53 $res = imagecolorat($base,0,10)==$black?'1':'0';
54 $res .= imagecolorat($base,0,20)==$black?'1':'0';
55 $res .= imagecolorat($base,0,30)==$black?'1':'0';
56 $res .= imagecolorat($base,0,40)==$black?'1':'0';
57 $res .= imagecolorat($base,0,50)==$black?'1':'0';
58 $res .= imagecolorat($base,0,60)==$black?'1':'0';
60 $res .= imagecolorat($base,11,12)==$white?'1':'0';
61 $res .= imagecolorat($base,12,13)==$white?'1':'0';
62 $res .= imagecolorat($base,13,14)==$white?'1':'0';
63 $res .= imagecolorat($base,14,15)==$white?'1':'0';
64 $res .= imagecolorat($base,15,16)==$white?'1':'0';
65 $res .= imagecolorat($base,16,17)==$white?'1':'0';
67 $res .= imagecolorat($base,0,16)==$black?'1':'0';
68 $res .= imagecolorat($base,2,42)==$black?'1':'0';
69 $res .= imagecolorat($base,4,44)==$black?'1':'0';
70 $res .= imagecolorat($base,146,146)==$black?'1':'0';
71 $res .= imagecolorat($base,148,146)==$black?'1':'0';
72 $res .= imagecolorat($base,0,0)==$black?'1':'0';