Searched defs:viewBox (Results 1 - 3 of 3) sorted by relevance

/external/skia/src/svg/
H A DSkSVGSVG.cpp29 SVG_ATTRIBUTE(viewBox),
44 SkScalar viewBox[4]; local
51 SkParse::FindScalars(f_viewBox.c_str(), viewBox, 4);
53 box.fLeft = SkScalarDiv(viewBox[0], width);
54 box.fTop = SkScalarDiv(viewBox[1], height);
55 box.fRight = SkScalarDiv(viewBox[2], width);
56 box.fBottom = SkScalarDiv(viewBox[3], height);
/external/webkit/WebCore/svg/
H A DSVGViewSpec.cpp51 void SVGViewSpec::setViewBoxString(const String& viewBox) argument
54 const UChar* c = viewBox.characters();
55 const UChar* end = c + viewBox.length();
H A DSVGSVGElement.cpp122 AffineTransform viewBox = viewBoxToViewTransform(w, h); local
125 viewBox.map(_x, _y, _x, _y);
126 viewBox.map(w, h, wDouble, hDouble);
444 AffineTransform viewBox = viewBoxToViewTransform(width().value(this), height().value(this)); local
445 mat = viewBox * mat;
471 AffineTransform viewBox = viewBoxToViewTransform(width().value(this), height().value(this)); local
472 mat = viewBox * mat;
546 viewBoxRect = currentView()->viewBox();
548 viewBoxRect = viewBox();
561 currentView()->setViewBox(viewElement->viewBox());
[all...]

Completed in 922 milliseconds