Lines Matching refs:media

120   function reflow(&$driver, &$media, $boxes) {  argument
122 $this->_position($media, $boxes, $context);
184 function _position($media, $boxes, $context) { argument
186 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
188 $this->put_full_width(mm2pt($media->width()));
189 $this->put_full_height(mm2pt($media->margins['top']));
197 function _position($media, $boxes, $context) { argument
199 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
201 $this->put_full_width(mm2pt($media->margins['left']));
202 $this->put_full_height(mm2pt($media->margins['top']));
210 function _position($media, $boxes, $context) { argument
211 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
216 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']));
217 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
220 $this->put_full_height(mm2pt($media->margins['top']));
228 function _position($media, $boxes, $context) { argument
229 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
234 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']) + $left);
235 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
238 $this->put_full_height(mm2pt($media->margins['top']));
246 function _position($media, $boxes, $context) { argument
247 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
252 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']) + $left + $center);
253 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
256 $this->put_full_height(mm2pt($media->margins['top']));
264 function _position($media, $boxes, $context) { argument
265 $this->put_left($this->get_extra_left() + mm2pt($media->width() - $media->margins['right']));
266 $this->put_top(-$this->get_extra_top() +mm2pt($media->height()));
268 $this->put_full_width(mm2pt($media->margins['right']));
269 $this->put_full_height(mm2pt($media->margins['top']));
277 function _position($media, $boxes, $context) { argument
279 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
281 $this->put_full_width(mm2pt($media->margins['left']));
282 $this->put_full_height(mm2pt($media->margins['bottom']));
290 function _position($media, $boxes, $context) { argument
291 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
296 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']));
297 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
300 $this->put_full_height(mm2pt($media->margins['bottom']));
308 function _position($media, $boxes, $context) { argument
309 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
314 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']) + $left);
315 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
318 $this->put_full_height(mm2pt($media->margins['bottom']));
326 function _position($media, $boxes, $context) { argument
327 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_width()),
332 $this->put_left($this->get_extra_left() + mm2pt($media->margins['left']) + $left + $center);
333 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
336 $this->put_full_height(mm2pt($media->margins['bottom']));
344 function _position($media, $boxes, $context) { argument
345 $this->put_left($this->get_extra_left() + mm2pt($media->width() - $media->margins['right']));
346 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
348 $this->put_full_width(mm2pt($media->margins['right']));
349 $this->put_full_height(mm2pt($media->margins['top']));
357 function _position($media, $boxes, $context) { argument
359 $this->put_top(-$this->get_extra_top() +mm2pt($media->margins['bottom']));
361 $this->put_full_width(mm2pt($media->width()));
362 $this->put_full_height(mm2pt($media->margins['bottom']));
370 function _position($media, $boxes, $context) { argument
371 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
377 $this->put_top(-$this->get_extra_top() +mm2pt($media->height() - $media->margins['top']));
380 $this->put_full_width(mm2pt($media->margins['left']));
388 function _position($media, $boxes, $context) { argument
389 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
394 … $this->put_top(-$this->get_extra_top() +mm2pt($media->height() - $media->margins['top']) - $left);
397 $this->put_full_width(mm2pt($media->margins['left']));
405 function _position($media, $boxes, $context) { argument
406 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
412 …$this->put_top(-$this->get_extra_top() +mm2pt($media->height() - $media->margins['top']) - $left -…
415 $this->put_full_width(mm2pt($media->margins['left']));
423 function _position($media, $boxes, $context) { argument
424 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
429 $this->put_left($this->get_extra_left() + mm2pt($media->width() - $media->margins['right']));
430 $this->put_top(-$this->get_extra_top() +mm2pt($media->height() - $media->margins['top']));
433 $this->put_full_width(mm2pt($media->margins['right']));
441 function _position($media, $boxes, $context) { argument
442 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
447 $this->put_left($this->get_extra_left() + mm2pt($media->width() - $media->margins['right']));
448 … $this->put_top(-$this->get_extra_top() +mm2pt($media->height() - $media->margins['top']) - $left);
451 $this->put_full_width(mm2pt($media->margins['right']));
459 function _position($media, $boxes, $context) { argument
460 list($left, $center, $right) = $this->_calc_sizes(mm2pt($media->real_height()),
465 $this->put_left($this->get_extra_left() + mm2pt($media->width() - $media->margins['right']));
466 …$this->put_top(-$this->get_extra_top() + mm2pt($media->height() - $media->margins['top']) - $left …
469 $this->put_full_width(mm2pt($media->margins['right']));