Lines Matching defs:x1

575 				if (isset($gradient_info['info']['x1'])) {
576 $gradient_info['info']['x1'] = ($gradient_info['info']['x1'] - $x_offset) / $w;
588 if (isset($gradient_info['info']['x1'])) {
589 $x1 = $gradient_info['info']['x1'];
591 $x1 = 0;
609 if (strpos($x1, '%') !== false) {
610 $x1 = (stristr($x1, '%', true) + 0) / 100;
630 $angle = rad2deg(atan2(($gradient_info['info']['y2'] - $gradient_info['info']['y1']), ($gradient_info['info']['x2'] - $gradient_info['info']['x1'])));
642 $x1 *= $w / $h;
687 $px1 = $x1 + ($x2 - $x1) * $tmp;
690 $alpha = atan2($y2 - $y1, $x2 - $x1);
730 $px1 = $x1 + ($x2 - $x1) * $tmp;
733 $alpha = atan2($y2 - $y1, $x2 - $x1);
783 $grx1 = $x1 + ($x2 - $x1) * $gradient_info['color'][0]['offset'];
785 $grx2 = $x1 + ($x2 - $x1) * $gradient_info['color'][count($gradient_info['color']) - 1]['offset'];
815 if (isset($gradient_info['info']['x1'])) {
816 $gradient_info['info']['x1'] = ($gradient_info['info']['x1'] - $x_offset) / $w;
853 if (isset($gradient_info['info']['x1'])) {
854 $x1 = $gradient_info['info']['x1'];
856 $x1 = $x0;
864 if (strpos($x1, '%') !== false) {
865 $x1 = (stristr($x1, '%', true) + 0) / 100;
893 $ax1 = isset($gradient_info['info']['x1']) ? $gradient_info['info']['x1'] : 0;
914 $x1 *= $w / $h;
940 // x1 and y1 (fx, fy) should be inside the circle defined by x0 y0 (cx, cy)
943 while (pow(($x1 - $x0), 2) + pow(($y1 - $y0), 2) >= pow($r, 2)) {
945 $x1 -= ($x1 - $x0) / 100;
973 $px = $x1 + ($x0 - $x1) * $tmp;
1012 $grx1 = $x1 + ($x0 - $x1) * $gradient_info['color'][0]['offset'];
1014 $grx2 = $x1 + ($x0 - $x1) * $gradient_info['color'][count($gradient_info['color']) - 1]['offset'];
1751 $x1 = $this->lastcontrolpoints[0];
1762 $pdfx1 = ($this->xbase + $x1);
1773 $pdfx1 = $this->xbase + $x1;
1808 $x1 = ($a[$i]);
1817 $pdfx1 = ($this->xbase + $x1);
1828 $pdfx1 = $x1;
1864 $x1 = ($a[$i]);
1874 $pdfx1 = ($this->xbase + ($x1 * 2 / 3));
1888 $pdfx1 = ($this->xbase + (($x1 - $this->xbase) * 2 / 3));
1891 $pdfx2 = ($x + (($x1 - $x) * 2 / 3));
1934 $x1 = $this->lastcontrolpoints[0];
1941 $pdfx1 = ($this->xbase + ($x1));
1955 $pdfx1 = ($this->xbase + ($x1));
1996 $x1 = $this->xbase;
2009 list($pcmd, $bounds) = $this->Arcto($x1, $y1, $x2, $y2, $rx, $ry, $angle, $largeArcFlag, $sweepFlag);
2049 function Arcto($x1, $y1, $x2, $y2, $rx, $ry, $angle, $largeArcFlag, $sweepFlag)
2052 $bounds = [0 => [$x1, $x2], 1 => [$y1, $y2]];
2056 // If the endpoints (x1, y1) and (x2, y2) are identical, then this
2058 if ($x1 == $x2 && $y1 == $y2) {
2083 $x1dash = $cosPhi * ($x1 - $x2) / 2.0 + $sinPhi * ($y1 - $y2) / 2.0;
2084 $y1dash = -$sinPhi * ($x1 - $x2) / 2.0 + $cosPhi * ($y1 - $y2) / 2.0;
2091 // the ellipse is not big enough to reach from (x1, y1) to (x2,
2109 $cx = $cosPhi * $cxdash - $sinPhi * $cydash + ($x1 + $x2) / 2.0;
2150 $coords[$i] = [($x1 + $dx1), ($y1 + $dy1), ($xe + $dxe), ($ye + $dye), $xe, $ye];
2154 $x1 = $xe;
2306 $x1 = $cx;
2318 $path_cmd = sprintf('%.3F %.3F m ', $x1 * $this->kp, $y1 * $this->kp);
2319 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', ($x1 + ($rx * $kappa)) * $this->kp, $y1 * $this->kp, $x2 * $this->kp, ($y2 + ($ry * $kappa)) * $this->kp, $x2 * $this->kp, $y2 * $this->kp);
2322 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $x4 * $this->kp, ($y4 + ($ry * $kappa)) * $this->kp, ($x1 - ($rx * $kappa)) * $this->kp, $y1 * $this->kp, $x1 * $this->kp, $y1 * $this->kp);
3510 if (isset($attribs['x1'])) {
3511 $tmp_gradient['info']['x1'] = $attribs['x1'];
3550 $tmp_gradient['info']['x1'] = $attribs['fx'];
3799 $arguments[0] = (isset($attribs['x1']) ? $attribs['x1'] : '');
3805 unset($critere_style['x1'], $critere_style['y1'], $critere_style['x2'], $critere_style['y2']);
4287 private function testIntersect($x1, $y1, $x2, $y2, $x3, $y3, $x4, $y4)
4289 // Tests whether line (x1, y1) and (x2, y2) [a gradient axis (perpendicular)]
4292 $b1 = $x1 - $x2;
4293 $c1 = $a1 * $x1 + $b1 * $y1;