Lines Matching refs:base
12 $base = imagecreate(150,150);
15 $white = imagecolorallocate($base,255,255,255);
16 $black = imagecolorallocate($base,0,0,0);
25 imagesettile($base,$tile);
26 imagerectangle($base, 9,9,139,139,$black);
27 imageline($base, 9,9,139,139,$black);
28 imagefill($base,11,12,IMG_COLOR_TILED);
30 $res = imagecolorat($base,0,10)==$black?'1':'0';
31 $res .= imagecolorat($base,0,20)==$black?'1':'0';
32 $res .= imagecolorat($base,0,30)==$black?'1':'0';
33 $res .= imagecolorat($base,0,40)==$black?'1':'0';
34 $res .= imagecolorat($base,0,50)==$black?'1':'0';
35 $res .= imagecolorat($base,0,60)==$black?'1':'0';
37 $res .= imagecolorat($base,11,12)==$white?'1':'0';
38 $res .= imagecolorat($base,12,13)==$white?'1':'0';
39 $res .= imagecolorat($base,13,14)==$white?'1':'0';
40 $res .= imagecolorat($base,14,15)==$white?'1':'0';
41 $res .= imagecolorat($base,15,16)==$white?'1':'0';
42 $res .= imagecolorat($base,16,17)==$white?'1':'0';
44 $res .= imagecolorat($base,10,12)==$black?'1':'0';
45 $res .= imagecolorat($base,11,13)==$black?'1':'0';
46 $res .= imagecolorat($base,12,14)==$black?'1':'0';
47 $res .= imagecolorat($base,13,15)==$black?'1':'0';
48 $res .= imagecolorat($base,14,16)==$black?'1':'0';
49 $res .= imagecolorat($base,15,17)==$black?'1':'0';
52 imagefilledrectangle($base,0,0,149,149,$white);
53 imagerectangle($base, 9,9,139,139,$black);
54 imageline($base, 9,9,139,139,$black);
55 imagefill($base,0,0,IMG_COLOR_TILED);
57 $res = imagecolorat($base,0,10)==$black?'1':'0';
58 $res .= imagecolorat($base,0,20)==$black?'1':'0';
59 $res .= imagecolorat($base,0,30)==$black?'1':'0';
60 $res .= imagecolorat($base,0,40)==$black?'1':'0';
61 $res .= imagecolorat($base,0,50)==$black?'1':'0';
62 $res .= imagecolorat($base,0,60)==$black?'1':'0';
64 $res .= imagecolorat($base,11,12)==$white?'1':'0';
65 $res .= imagecolorat($base,12,13)==$white?'1':'0';
66 $res .= imagecolorat($base,13,14)==$white?'1':'0';
67 $res .= imagecolorat($base,14,15)==$white?'1':'0';
68 $res .= imagecolorat($base,15,16)==$white?'1':'0';
69 $res .= imagecolorat($base,16,17)==$white?'1':'0';
71 $res .= imagecolorat($base,0,16)==$black?'1':'0';
72 $res .= imagecolorat($base,2,42)==$black?'1':'0';
73 $res .= imagecolorat($base,4,44)==$black?'1':'0';
74 $res .= imagecolorat($base,146,146)==$black?'1':'0';
75 $res .= imagecolorat($base,148,146)==$black?'1':'0';
76 $res .= imagecolorat($base,0,0)==$black?'1':'0';