Lines Matching refs:b
240 $b = atan2($endy * $bboxh, $endx * $bboxw);
241 $ny = 1 - $coords[1] - (tan($b) * (1 - $coords[0]));
242 $tx = sin($b) * cos($b) * $ny;
243 $ty = cos($b) * cos($b) * $ny;
252 $b = atan2($endy * $bboxh, $endx * $bboxw);
253 $ny = 1 - $coords[1] - (tan($b) * $coords[0]);
254 $tx = sin($b) * cos($b) * $ny;
255 $ty = cos($b) * cos($b) * $ny;
264 $b = atan2($endy * $bboxh, $endx * $bboxw);
265 $ny = $coords[1] - (tan($b) * $coords[0]);
266 $tx = sin($b) * cos($b) * $ny;
267 $ty = cos($b) * cos($b) * $ny;
276 $b = atan2($endy * $bboxh, $endx * $bboxw);
277 $ny = $coords[1] - (tan($b) * (1 - $coords[0]));
278 $tx = sin($b) * cos($b) * $ny;
279 $ty = cos($b) * cos($b) * $ny;
351 $b = atan2($endy * $bboxh, $endx * $bboxw);
352 $h2 = $bboxh - ($bboxh * tan($b));
353 $px = $bboxh + ($h2 * sin($b) * cos($b));
354 $py = ($bboxh * tan($b)) + ($h2 * sin($b) * sin($b));