@@ 694-695 (lines=2) @@ | ||
691 | { |
|
692 | $x = $this->x; |
|
693 | $y = $this->y; |
|
694 | if(strpos($border,'L')!==false) |
|
695 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); |
|
696 | if(strpos($border,'T')!==false) |
|
697 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); |
|
698 | if(strpos($border,'R')!==false) |
|
@@ 696-697 (lines=2) @@ | ||
693 | $y = $this->y; |
|
694 | if(strpos($border,'L')!==false) |
|
695 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); |
|
696 | if(strpos($border,'T')!==false) |
|
697 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); |
|
698 | if(strpos($border,'R')!==false) |
|
699 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); |
|
700 | if(strpos($border,'B')!==false) |
|
@@ 698-699 (lines=2) @@ | ||
695 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); |
|
696 | if(strpos($border,'T')!==false) |
|
697 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); |
|
698 | if(strpos($border,'R')!==false) |
|
699 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); |
|
700 | if(strpos($border,'B')!==false) |
|
701 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); |
|
702 | } |
|
@@ 700-701 (lines=2) @@ | ||
697 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); |
|
698 | if(strpos($border,'R')!==false) |
|
699 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); |
|
700 | if(strpos($border,'B')!==false) |
|
701 | $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); |
|
702 | } |
|
703 | if($txt!=='') |
|
704 | { |