Lines Matching refs:width
50 $width = $this->getWidth();
51 if (isset($width)) {
52 $width = $params->units->toPoints($width);
53 $this->setWidth($width);
165 $width = $params->units->getDigits ($params->units->toPoints($this->own_max_width));
168 return $width.'pt';
206 $width = $this->getWidth();
207 if (isset($width)) {
208 if ($width [strlen($width)-1] != '%') {
209 $widthPt = $params->units->getDigits ($params->units->toPoints($width));
211 $percentage = trim ($width, '%');
220 if (!isset($width) || $widthPt > $maxWidthPt) {
221 $width = $maxWidthPt - $leftMarginPt - $rightMarginPt;
223 $width = $widthPt;
225 $width = $width.'pt';
227 return $width;
233 $width = substr ($matches [0], 11);
234 $width = trim ($width, '"');
235 return $width;
241 public function setWidth($width) { argument
244 $widthAttr = 'svg:width="'.$width.'"';
249 $this->attributes .= ' svg:width="'.$width.'"';