Lines Matching refs:viewBox
69 this->readAttr("viewBox");
220 * If width and height are in percent, they are percent of viewBox width/height.
221 * If width, height, and viewBox are not set... pick "random" width/height.
230 this->width.computed = this->width.value * this->viewBox.width();
233 this->width.set( SVGLength::PX, this->viewBox.width(), this->viewBox.width() );
238 this->height.computed = this->height.value * this->viewBox.height();
241 this->height.set(SVGLength::PX, this->viewBox.height(), this->viewBox.height() );
342 os << this->viewBox.left() << " " << this->viewBox.top() << " "
343 << this->viewBox.width() << " " << this->viewBox.height();
345 repr->setAttribute("viewBox", os.str().c_str());