function show(&$viewport) { $border = $this->getCSSProperty(CSS_BORDER); $background = $this->getCSSProperty(CSS_BACKGROUND); // Draw border of the box /* FIXME if ($border) $border->show($viewport, $this); */ // Render background of the box if ($background) { $background->show($viewport, $this); } parent::show($viewport); return true; }
function show(&$viewport) { $border = $this->get_css_property(CSS_BORDER); $background = $this->get_css_property(CSS_BACKGROUND); // Draw border of the box $border->show($viewport, $this); // Render background of the box $background->show($viewport, $this); parent::show($viewport); return true; }
function show(&$driver) { parent::show($driver); $strategy =& new StrategyLinkRenderingNormal(); $strategy->apply($this, $driver); }
function show(&$viewport) { if (CSSPseudoLinkTarget::is_external_link($this->pseudo_link_target)) { $viewport->add_link($this->get_left(), $this->get_top(), $this->get_width(), $this->get_height(), $this->pseudo_link_target); } if (CSSPseudoLinkTarget::is_local_link($this->pseudo_link_target)) { if (isset($viewport->anchors[substr($this->pseudo_link_target, 1)])) { $anchor = $viewport->anchors[substr($this->pseudo_link_target, 1)]; $viewport->add_local_link($this->get_left(), $this->get_top(), $this->get_width(), $this->get_height(), $anchor); } } // Draw border of the box $this->border->show($viewport, $this); // Render background of the box $this->background->show($viewport, $this); parent::show($viewport); return true; }