Lines Matching refs:cx

387 			$x_offset = $attribs['cx'] - $attribs['rx'];
392 $x_offset = $attribs['cx'] - $attribs['r'];
940 // x1 and y1 (fx, fy) should be inside the circle defined by x0 y0 (cx, cy)
941 // "If the point defined by fx and fy lies outside the circle defined by cx, cy and r, then the user agent shall set
942 // the focal point to the intersection of the line from (cx, cy) to (fx, fy) with the circle defined by cx, cy and r."
944 // Gradually move along fx,fy towards cx,cy in 100'ths until meets criteria
2109 $cx = $cosPhi * $cxdash - $sinPhi * $cydash + ($x1 + $x2) / 2.0;
2139 $xe = $cosPhi * $rx * $cosTheta2 - $sinPhi * $ry * $sinTheta2 + $cx;
2301 $cx = $this->ConvertSVGSizePixels($arguments['cx'], 'x');
2306 $x1 = $cx;
2309 $x2 = $cx + $rx;
2312 $x3 = $cx;
2315 $x4 = $cx - $rx;
3541 if (isset($attribs['cx'])) {
3542 $tmp_gradient['info']['x0'] = $attribs['cx'];
3728 if (!isset($attribs['cx'])) {
3729 $attribs['cx'] = 0;
3738 if (isset($attribs['cx'])) {
3739 $arguments['cx'] = $attribs['cx'];
3756 unset($critere_style['cx'], $critere_style['cy'], $critere_style['r']);
3763 if (!isset($attribs['cx'])) {
3764 $attribs['cx'] = 0;
3773 if (isset($attribs['cx'])) {
3774 $arguments['cx'] = $attribs['cx'];
3791 unset($critere_style['cx'], $critere_style['cy'], $critere_style['rx'], $critere_style['ry']);
4269 private function testIntersectCircle($cx, $cy, $cr)
4274 if ($cx >= 0 && $cx <= 1 && $cy >= 0 && $cy <= 1) {
4277 $d1 = sqrt(pow(($cy - 0), 2) + pow(($cx - 0), 2));
4278 $d2 = sqrt(pow(($cy - 1), 2) + pow(($cx - 0), 2));
4279 $d3 = sqrt(pow(($cy - 0), 2) + pow(($cx - 1), 2));
4280 $d4 = sqrt(pow(($cy - 1), 2) + pow(($cx - 1), 2));