Lines Matching defs:pts
259 $pts = parsePointList($value["points"]);
260 $p1 = $pts[0];
261 $p2 = $pts[1];
274 l_darrow($im, $pts, $c);
278 l_arrow($im, $pts, $c);
280 l_tarrow($im, $pts, $c);
289 $pts = parsePointList($value["points"]);
294 $length = vecdist($pts[0], $pts[1])
295 + vecdist($pts[1], $pts[2]);
297 $prev = $pts[0];
303 $p1 = quadraticBezierPoint($pts[0], $pts[1], $pts[2], $t / $divs);
308 l_hige($im, array($pts[1], $pts[2]), $c);
310 l_hige($im, array($pts[1], $pts[0]), $c);
322 $pts = parsePointList($value["points"]);
327 imagettftext($im, pixelToPoint($fontsize), 0, $pts[0][0], $pts[0][1], $c, FONTFACE, $value["text"]);
330 $pts = parsePathCommands($value["d"]);
335 foreach($pts as $i => $p){
340 if(isset($value["arrow"]) && 1 < count($pts)){
343 $first = $pts[0];
344 $first2 = $pts[1];
356 $last = $pts[count($pts)-1];
357 $last2 = $pts[count($pts)-2];