Lines Matching refs:value

23 		foreach ($drawdata as $key => $value) {

24 switch($value["type"]){
26 $size = $value["size"];
151 function colorSelect($im, $value){
153 if(isset($value['color'])){
154 switch($value['color']){
248 foreach ($drawdata as $key => $value) {
249 $c = colorSelect($im, $value);
250 switch($value["type"]){
259 $pts = parsePointList($value["points"]);
262 $wid = isset($value["width"]) ? $value["width"] : 1;
265 if($value["type"] === "rect")
267 else if($value["type"] === "rectfill")
269 else if($value["type"] === "ellipse")
271 else if($value["type"] === "ellipsefill")
273 else if($value["type"] === "darrow")
277 if($value["type"] === "arrow")
279 else if($value["type"] === "barrow")
289 $pts = parsePointList($value["points"]);
299 $wid = isset($value["width"]) ? $value["width"] : 1;
307 if($value["type"] === "arcarrow" || $value["type"] === "arcbarrow")
309 if($value["type"] === "arcbarrow")
313 l_star($im, parsePointList($value["points"]), $c);
316 l_check($im, parsePointList($value["points"]), $c);
319 l_complete($im, parsePointList($value["points"]), $c);
322 $pts = parsePointList($value["points"]);
324 if (1 == $value["width"]) $fontsize = 14;
325 else if (2 == $value["width"]) $fontsize = 16;
327 imagettftext($im, pixelToPoint($fontsize), 0, $pts[0][0], $pts[0][1], $c, FONTFACE, $value["text"]);
330 $pts = parsePathCommands($value["d"]);
331 $wid = isset($value["width"]) ? $value["width"] : 1;
340 if(isset($value["arrow"]) && 1 < count($pts)){
341 $set = seq2set($value["arrow"]);