Lines Matching defs:cy

388 			$y_offset = $attribs['cy'] - $attribs['ry'];
393 $y_offset = $attribs['cy'] - $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
2110 $cy = $sinPhi * $cxdash + $cosPhi * $cydash + ($y1 + $y2) / 2.0;
2140 $ye = $sinPhi * $rx * $cosTheta2 + $cosPhi * $ry * $sinTheta2 + $cy;
2302 $cy = $this->ConvertSVGSizePixels($arguments['cy'], 'y');
2307 $y1 = -$cy + $ry;
2310 $y2 = -$cy;
2313 $y3 = -$cy - $ry;
2316 $y4 = -$cy;
3545 if (isset($attribs['cy'])) {
3546 $tmp_gradient['info']['y0'] = $attribs['cy'];
3732 if (!isset($attribs['cy'])) {
3733 $attribs['cy'] = 0;
3742 if (isset($attribs['cy'])) {
3743 $arguments['cy'] = $attribs['cy'];
3756 unset($critere_style['cx'], $critere_style['cy'], $critere_style['r']);
3767 if (!isset($attribs['cy'])) {
3768 $attribs['cy'] = 0;
3777 if (isset($attribs['cy'])) {
3778 $arguments['cy'] = $attribs['cy'];
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));