|
@@ 770-771 (lines=2) @@
|
| 767 |
|
{ |
| 768 |
|
$x = $this->x; |
| 769 |
|
$y = $this->y; |
| 770 |
|
if (strpos($border, 'L') !== false) |
| 771 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, $x * $k, ($this->h - ($y + $h)) * $k); |
| 772 |
|
if (strpos($border, 'T') !== false) |
| 773 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - $y) * $k); |
| 774 |
|
if (strpos($border, 'R') !== false) |
|
@@ 772-773 (lines=2) @@
|
| 769 |
|
$y = $this->y; |
| 770 |
|
if (strpos($border, 'L') !== false) |
| 771 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, $x * $k, ($this->h - ($y + $h)) * $k); |
| 772 |
|
if (strpos($border, 'T') !== false) |
| 773 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - $y) * $k); |
| 774 |
|
if (strpos($border, 'R') !== false) |
| 775 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', ($x + $w) * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - ($y + $h)) * $k); |
| 776 |
|
if (strpos($border, 'B') !== false) |
|
@@ 774-775 (lines=2) @@
|
| 771 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, $x * $k, ($this->h - ($y + $h)) * $k); |
| 772 |
|
if (strpos($border, 'T') !== false) |
| 773 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - $y) * $k); |
| 774 |
|
if (strpos($border, 'R') !== false) |
| 775 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', ($x + $w) * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - ($y + $h)) * $k); |
| 776 |
|
if (strpos($border, 'B') !== false) |
| 777 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - ($y + $h)) * $k, ($x + $w) * $k, ($this->h - ($y + $h)) * $k); |
| 778 |
|
} |
|
@@ 776-777 (lines=2) @@
|
| 773 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - $y) * $k); |
| 774 |
|
if (strpos($border, 'R') !== false) |
| 775 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', ($x + $w) * $k, ($this->h - $y) * $k, ($x + $w) * $k, ($this->h - ($y + $h)) * $k); |
| 776 |
|
if (strpos($border, 'B') !== false) |
| 777 |
|
$s .= sprintf('%.2F %.2F m %.2F %.2F l S ', $x * $k, ($this->h - ($y + $h)) * $k, ($x + $w) * $k, ($this->h - ($y + $h)) * $k); |
| 778 |
|
} |
| 779 |
|
if ($txt !== '') |
| 780 |
|
{ |