Lines Matching defs:c

421 				foreach ($commands as $c) {
422 if (count($c) == 3) {
423 list($tmp, $cmd, $arg) = $c;
471 $c = strtolower($m[1][$i]);
474 if ($c == 'matrix' && count($vv) == 6) {
478 } elseif ($c == 'translate' && count($vv)) {
487 } elseif ($c == 'scale' && count($vv)) {
496 } elseif ($c == 'rotate' && count($vv)) {
508 } elseif ($c == 'skewx' && count($vv)) {
511 } elseif ($c == 'skewy' && count($vv)) {
1144 $c = strtolower($m[1][$i]);
1147 if ($c == 'matrix' && count($vv) == 6) {
1175 } elseif ($c == 'translate' && count($vv)) {
1184 } elseif ($c == 'scale' && count($vv)) {
1193 } elseif ($c == 'rotate' && count($vv)) {
1205 } elseif ($c == 'skewx' && count($vv)) {
1208 } elseif ($c == 'skewy' && count($vv)) {
1745 if (!($this->lastcommand == 'C' || $this->lastcommand == 'c' || $this->lastcommand == 'S' || $this->lastcommand == 's')) {
1798 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $pdfx1 * $this->kp, $pdfy1 * $this->kp, $pdfx2 * $this->kp, $pdfy2 * $this->kp, $pdfx * $this->kp, $pdfy * $this->kp);
1804 case 'c': // bezier with second vertex equal second control
1854 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $pdfx1 * $this->kp, $pdfy1 * $this->kp, $pdfx2 * $this->kp, $pdfy2 * $this->kp, $pdfx * $this->kp, $pdfy * $this->kp);
1917 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $pdfx1 * $this->kp, $pdfy1 * $this->kp, $pdfx2 * $this->kp, $pdfy2 * $this->kp, $pdfx * $this->kp, $pdfy * $this->kp);
1975 $path_cmd .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $pdfx1 * $this->kp, $pdfy1 * $this->kp, $pdfx2 * $this->kp, $pdfy2 * $this->kp, $pdfx * $this->kp, $pdfy * $this->kp);
2149 // c) draw the cubic bezier:
2160 foreach ($coords as $c) {
2162 $cpx1 = $c[0];
2163 $cpy1 = $c[1];
2164 $cpx2 = $c[2];
2165 $cpy2 = $c[3];
2166 $x2 = $c[4];
2167 $y2 = $c[5];
2168 $path .= sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $cpx1 * $this->kp, -$cpy1 * $this->kp, $cpx2 * $this->kp, -$cpy2 * $this->kp, $x2 * $this->kp, -$y2 * $this->kp) . "\n";
2171 $bounds[0][] = $c[4];
2172 $bounds[1][] = $c[5];
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);
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);
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);
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);
3643 foreach ($commands as $c) {
3644 if ((isset($c) && count($c) == 3) || (isset($c[2]) && $c[2] == '')) {
3645 list($tmp, $command, $arguments) = $c;
3647 list($tmp, $command) = $c;
3903 $c = $this->cssManager->CSS['CLASS>>' . strtoupper($class)];
3904 foreach ($c as $prop => $val) {
3969 $c = $this->cssManager->CSS['CLASS>>' . strtoupper($class)];
3970 foreach ($c as $prop => $val) {
4210 private function computeBezierBoundingBox($start, $c)
4213 $P1 = [$c[0], $c[1]];
4214 $P2 = [$c[2], $c[3]];
4215 $P3 = [$c[4], $c[5]];
4225 $c = 3 * $P1[$i] - 3 * $P0[$i];
4233 $t = -$c / $b;
4242 $b2ac = pow($b, 2) - 4 * $c * $a;