|
@@ 1684-1689 (lines=6) @@
|
| 1681 |
|
$positionArray = array(); |
| 1682 |
|
|
| 1683 |
|
switch ($side) { |
| 1684 |
|
case 't': |
| 1685 |
|
$positionArray['x1'] = 0; |
| 1686 |
|
$positionArray['y1'] = $padding; |
| 1687 |
|
$positionArray['x2'] = $this->width; |
| 1688 |
|
$positionArray['y2'] = $thickness + $padding; |
| 1689 |
|
break; |
| 1690 |
|
case 'r': |
| 1691 |
|
$positionArray['x1'] = $this->width - $thickness - $padding; |
| 1692 |
|
$positionArray['y1'] = 0; |
|
@@ 1702-1707 (lines=6) @@
|
| 1699 |
|
$positionArray['x2'] = $this->width; |
| 1700 |
|
$positionArray['y2'] = $this->height - $padding; |
| 1701 |
|
break; |
| 1702 |
|
case 'l': |
| 1703 |
|
$positionArray['x1'] = $padding; |
| 1704 |
|
$positionArray['y1'] = 0; |
| 1705 |
|
$positionArray['x2'] = $thickness + $padding; |
| 1706 |
|
$positionArray['y2'] = $this->height; |
| 1707 |
|
break; |
| 1708 |
|
|
| 1709 |
|
default: |
| 1710 |
|
break; |