@@ 76-83 (lines=8) @@ | ||
73 | return $this->rect; |
|
74 | } |
|
75 | ||
76 | private function getLBox() |
|
77 | { |
|
78 | list($x1, $y1) = $this->getStartPoint(); |
|
79 | list($x2, $y2) = $this->current; |
|
80 | ||
81 | $this->union($this->getLineBox($x1, $y1, $x2, $y2)); |
|
82 | ||
83 | } |
|
84 | ||
85 | private function getPreviousData() |
|
86 | { |
|
@@ 135-143 (lines=9) @@ | ||
132 | return $this->data; |
|
133 | } |
|
134 | ||
135 | private function getHBox() |
|
136 | { |
|
137 | list($x1, $y1) = $this->getStartPoint(); |
|
138 | $x2 = $this->current[0]; |
|
139 | ||
140 | $box = $this->getLineBox($x1, $y1, $x2, $y1); |
|
141 | ||
142 | $this->union($box); |
|
143 | } |
|
144 | ||
145 | private function getVBox() |
|
146 | { |
|
@@ 145-153 (lines=9) @@ | ||
142 | $this->union($box); |
|
143 | } |
|
144 | ||
145 | private function getVBox() |
|
146 | { |
|
147 | list($x1, $y1) = $this->getStartPoint(); |
|
148 | $y2 = $this->current[0]; |
|
149 | ||
150 | $box = $this->getLineBox($x1, $y1, $x1, $y2); |
|
151 | ||
152 | $this->union($box); |
|
153 | } |
|
154 | ||
155 | private function getLineBox($x1, $y1, $x2, $y2) |
|
156 | { |