Lines Matching refs:this

10     $this->GenericInlineBox();
14 return $this->get_full_width($context);
18 return $this->get_full_width();
22 return $this->get_full_width();
30 switch ($this->scale) {
34 $this->src_width/$this->src_height*
35 $this->get_width();
37 $this->put_height($size);
40 $this->default_baseline = $this->get_full_height();
45 $this->src_height/$this->src_width*
46 $this->get_height();
48 $this->put_width($size);
49 $this->setCSSProperty(CSS_WIDTH, new WCConstant($size));
51 $this->default_baseline = $this->get_full_height();
62 $this->_readCSS($state,
68 $this->pre_reflow_images();
73 $this->maybe_line_break($parent, $context);
76 $this->baseline = $this->default_baseline;
79 $parent->append_line($this);
82 $this->guess_corner($parent);
85 $parent->_current_x += $this->get_full_width();
88 $parent->extend_height($this->get_bottom_margin());
92 if (isset($this->_cache[CACHE_TYPEFACE][$subword_index])) {
93 return $this->_cache[CACHE_TYPEFACE][$subword_index];
98 $font = $this->get_css_property(CSS_FONT);
104 $this->_cache[CACHE_TYPEFACE][$subword_index] = $typeface;
118 $font_name = $this->_get_font_name($driver, 0);
138 $font = $this->get_css_property(CSS_FONT_SIZE);
141 $this->ascender = $ascender * $font_size;
142 $this->descender = $descender * $font_size;
144 $this->ascender = $this->get_height();
145 $this->descender = 0;
160 return $this->show($driver);
168 $this->scale = SCALE_NONE;
169 $this->encoding = DEFAULT_ENCODING;
172 $this->GenericImgBox();
174 $this->alt = $alt;
184 $driver->moveto($this->get_left(), $this->get_top());
185 $driver->lineto($this->get_right(), $this->get_top());
186 $driver->lineto($this->get_right(), $this->get_bottom());
187 $driver->lineto($this->get_left(), $this->get_bottom());
192 $driver->moveto($this->get_left(), $this->get_top());
193 $driver->lineto($this->get_right(), $this->get_top());
194 $driver->lineto($this->get_right(), $this->get_bottom());
195 $driver->lineto($this->get_left(), $this->get_bottom());
208 $driver->show_xy($this->alt,
209 $this->get_left() + $this->width/2 - $driver->stringwidth($this->alt,
213 $this->get_top() - $this->height/2 - $size/2);
218 $strategy->apply($this, $driver);
229 $this->encoding = DEFAULT_ENCODING;
230 $this->scale = SCALE_NONE;
233 $this->GenericImgBox();
236 $this->image = $img;
289 $this->put_width(px2pt($this->image->sx()));
290 $this->put_height(px2pt($this->image->sy()));
291 $this->default_baseline = $this->get_full_height();
293 $this->src_height = $this->image->sx();
294 $this->src_width = $this->image->sy();
296 $wc = $this->get_css_property(CSS_WIDTH);
297 $hc = $this->get_height_constraint();
301 $this->scale = SCALE_WIDTH;
305 $this->src_width/$this->src_height*
306 $this->get_width();
308 $this->put_height($size);
311 $this->default_baseline = $this->get_full_height();
314 $this->scale = SCALE_HEIGHT;
318 $this->src_height/$this->src_width*
319 $this->get_height();
321 $this->put_width($size);
322 $this->setCSSProperty(CSS_WIDTH, new WCConstant($size));
324 $this->default_baseline = $this->get_full_height();
335 if ($this->get_width() < EPSILON ||
336 $this->get_height() < EPSILON) {
340 $driver->image_scaled($this->image,
341 $this->get_left(), $this->get_bottom(),
342 $this->get_width() / $this->image->sx(),
343 $this->get_height() / $this->image->sy());
346 $strategy->apply($this, $driver);