Lines Matching +refs:text +refs:line +refs:d

72   public $line;  variable in dokuwiki\\plugin\\a2s\\A2S_JLexToken
77 function __construct($type, $value = null, $line = null, $col = null) { argument
78 $this->line = $line;
247 $tok->line = $this->yyline;
1778 foreach ($lines as $line) {
1779 preg_match('/width="(\d+)/', $line, $m);
1781 preg_match('/height="(\d+)/', $line, $m);
1783 preg_match('/d="([^"]+)"/', $line, $m);
1944 private $text; variable in dokuwiki\\plugin\\a2s\\SVGPath
1954 $this->text = array();
2072 $this->text[] = $t;
2076 return $this->text;
2554 if (count($this->text) > 0) {
2555 foreach ($this->text as $text) {
2556 $out .= "\t" . $text->render() . "\n";
2704 if (count($this->text) > 0) {
2705 foreach ($this->text as $text) {
2706 $out_p .= "\t" . $text->render() . "\n";
2852 foreach ($this->grid as $k => $line) {
2853 $this->grid[$k] = preg_split('//u', $line, null, PREG_SPLIT_NO_EMPTY);
2878 foreach($this->grid as $line) {
2879 if (count($line) > $canvasWidth) {
2880 $canvasWidth = count($line);
2981 foreach ($this->grid as $row => $line) {
2982 foreach ($line as $col => $char) {
3104 $line = new SVGPath();
3123 $line->addMarker($c, $r, Point::IMARKER);
3129 $line->addMarker($c, $r, Point::IMARKER);
3132 $line->addMarker($c, $r, Point::IMARKER);
3140 $line->addMarker($c, $r, Point::IMARKER);
3144 $line->addMarker($c, $r, Point::IMARKER);
3151 $line->addMarker($c, $r, Point::IMARKER);
3159 $line->addMarker($c, $r, Point::IMARKER);
3162 $line->addMarker($c, $r, Point::IMARKER);
3184 $line->setOption('stroke-dasharray', '5 5');
3207 $line->setOption('stroke-dasharray', '5 5');
3294 $line->addPoint($c, $r);
3320 $this->walk($line, $r+$rInc, $c+$cInc, $dir);
3326 $this->clearObject($line);
3327 $this->svgObjects->addObject($line);
3373 foreach ($this->grid as $row => $line) {
3374 $cols = count($line);
3474 while ($i < count($line) && $this->getChar($row, $i) != ' ') {
3513 $text = $this->svgObjects->getGroup('text');
3523 foreach ($obj->getText() as $text) {
3524 $textPoint = $text->getPoint();
3528 $text->setOptions($this->commands[$pointCmd]);
3542 foreach ($text as $obj) {
3558 private function walk($path, $row, $col, $dir, $d = 0) { argument
3559 $d++;
3618 return $this->walk($path, $r + $rInc, $c + $cInc, $dir, $d);
3624 return $this->walk($path, $r - 1, $c, self::DIR_UP, $d);
3631 return $this->walk($path, $r + 1, $c, self::DIR_DOWN, $d);
3635 return $this->walk($path, $r, $c + 1, self::DIR_RIGHT, $d);
3638 return $this->walk($path, $r, $c - 1, self::DIR_LEFT, $d);
3641 return $this->walk($path, $r - 1, $c + 1, self::DIR_NE, $d);
3644 return $this->walk($path, $r + 1, $c + 1, self::DIR_SE, $d);
3675 private function wallFollow($path, $r, $c, $dir, $bucket = array(), $d = 0) { argument
3676 $d++;
3729 if ($d == 1 && $cur == '.' && $this->getChar($r + 1, $c) == '.') {
3754 if ($d == 1) {
3789 $this->wallFollow($path, $r+$rMod, $c+$cMod, $newDir, $bucket, $d);
3808 $this->wallFollow($path, $r, $c - 1, self::DIR_LEFT, $bucket, $d);
3816 $this->wallFollow($path, $r, $c + 1, self::DIR_RIGHT, $bucket, $d);
3827 $this->wallFollow($path, $r - 1, $c, self::DIR_UP, $bucket, $d);
3839 $this->wallFollow($path, $r + 1, $c, self::DIR_DOWN, $bucket, $d);