Lines Matching refs:ry

386 			$h = $attribs['ry'] * 2;
388 $y_offset = $attribs['cy'] - $attribs['ry'];
825 $gradient_info['info']['ry'] = $gradient_info['info']['r'] / $h;
846 if (isset($gradient_info['info']['ry'])) {
847 $ry = $gradient_info['info']['ry'];
849 $ry = $gradient_info['info']['r'];
851 $ry = 0.5;
879 if (strpos($ry, '%') !== false) {
880 $ry = (stristr($ry, '%', true) + 0) / 100;
911 $ry *= $h / $w;
917 $ry *= $w / $h;
1985 $ry = isset($a[$i + 1]) ? $a[$i + 1] : 0;
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)
2064 if ($rx == 0.0 || $ry == 0.0) {
2074 if ($ry < 0.0) {
2075 $ry = -$ry;
2086 $numerator = $rx * $rx * $ry * $ry - $rx * $rx * $y1dash * $y1dash - $ry * $ry * $x1dash * $x1dash;
2095 // ry'=s*ry becomes 0 :
2096 $s = sqrt(1.0 - $numerator / ($rx * $rx * $ry * $ry));
2099 $ry *= $s;
2103 $root = ($largeArcFlag == $sweepFlag ? -1.0 : 1.0) * sqrt($numerator / ($rx * $rx * $y1dash * $y1dash + $ry * $ry * $x1dash * $x1dash));
2106 $cxdash = $root * $rx * $y1dash / $ry;
2107 $cydash = -$root * $ry * $x1dash / $rx;
2113 $theta1 = $this->CalcVectorAngle(1.0, 0.0, ($x1dash - $cxdash) / $rx, ($y1dash - $cydash) / $ry);
2114 $dtheta = $this->CalcVectorAngle(($x1dash - $cxdash) / $rx, ($y1dash - $cydash) / $ry, (-$x1dash - $cxdash) / $rx, (-$y1dash - $cydash) / $ry);
2139 $xe = $cosPhi * $rx * $cosTheta2 - $sinPhi * $ry * $sinTheta2 + $cx;
2140 $ye = $sinPhi * $rx * $cosTheta2 + $cosPhi * $ry * $sinTheta2 + $cy;
2143 $dx1 = $t * ( - $cosPhi * $rx * $sinTheta1 - $sinPhi * $ry * $cosTheta1);
2144 $dy1 = $t * ( - $sinPhi * $rx * $sinTheta1 + $cosPhi * $ry * $cosTheta1);
2146 $dxe = $t * ( $cosPhi * $rx * $sinTheta2 + $sinPhi * $ry * $cosTheta2);
2147 $dye = $t * ( $sinPhi * $rx * $sinTheta2 - $cosPhi * $ry * $cosTheta2);
2239 $ry = $this->ConvertSVGSizePixels($arguments['ry'], 'y'); // mPDF 4.4.003
2247 if ($ry > $h / 2) {
2248 $ry = $h / 2;
2251 if ($rx > 0 and $ry == 0) {
2252 $ry = $rx;
2255 if ($ry > 0 and $rx == 0) {
2256 $rx = $ry;
2259 if ($rx == 0 and $ry == 0) {
2272 $ky = $kappa * $ry;
2276 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', ($x + ($w - $rx + $kx)) * $this->kp, -$y * $this->kp, ($x + $w) * $this->kp, (-$y + (-$ry + $ky)) * $this->kp, ($x + $w) * $this->kp, (-$y + (-$ry)) * $this->kp);
2277 $path_cmd .= sprintf('%.3F %.3F l ', ($x + $w) * $this->kp, (-$y + (-$h + $ry)) * $this->kp);
2278 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', ($x + $w) * $this->kp, (-$y + (-$h - $ky + $ry)) * $this->kp, ($x + ($w - $rx + $kx)) * $this->kp, (-$y + (-$h)) * $this->kp, ($x + ($w - $rx)) * $this->kp, (-$y + (-$h)) * $this->kp);
2281 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', ($x + ($rx - $kx)) * $this->kp, (-$y + (-$h)) * $this->kp, $x * $this->kp, (-$y + (-$h - $ky + $ry)) * $this->kp, $x * $this->kp, (-$y + (-$h + $ry)) * $this->kp);
2282 $path_cmd .= sprintf('%.3F %.3F l ', $x * $this->kp, (-$y + (-$ry)) * $this->kp);
2283 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c h ', $x * $this->kp, (-$y + (-$ry + $ky)) * $this->kp, ($x + ($rx - $kx)) * $this->kp, -$y * $this->kp, ($x + $rx) * $this->kp, -$y * $this->kp);
2295 if ($arguments['rx'] == 0 || $arguments['ry'] == 0) {
2304 $ry = $this->ConvertSVGSizePixels($arguments['ry'], 'y');
2307 $y1 = -$cy + $ry;
2313 $y3 = -$cy - $ry;
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);
2320 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $x2 * $this->kp, ($y2 - ($ry * $kappa)) * $this->kp, ($x3 + ($rx * $kappa)) * $this->kp, $y3 * $this->kp, $x3 * $this->kp, $y3 * $this->kp);
2321 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', ($x3 - ($rx * $kappa)) * $this->kp, $y3 * $this->kp, $x4 * $this->kp, ($y4 - ($ry * $kappa)) * $this->kp, $x4 * $this->kp, $y4 * $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);
3689 if (!isset($attribs['ry'])) {
3690 $attribs['ry'] = 0;
3715 if (isset($attribs['ry'])) {
3716 $arguments['ry'] = $attribs['ry'];
3721 unset($critere_style['x'], $critere_style['y'], $critere_style['rx'], $critere_style['ry'], $critere_style['height'], $critere_style['width']);
3751 $arguments['ry'] = $attribs['r'];
3785 if (isset($attribs['ry'])) {
3786 $arguments['ry'] = $attribs['ry'];
3791 unset($critere_style['cx'], $critere_style['cy'], $critere_style['rx'], $critere_style['ry']);