Searched defs:viewBox (Results 1 - 4 of 4) sorted by relevance
/external/skia/src/svg/ |
H A D | SkSVGSVG.cpp | 21 SVG_ATTRIBUTE(viewBox), 38 SkScalar viewBox[4]; local 45 SkParse::FindScalars(f_viewBox.c_str(), viewBox, 4); 47 box.fLeft = SkScalarDiv(viewBox[0], width); 48 box.fTop = SkScalarDiv(viewBox[1], height); 49 box.fRight = SkScalarDiv(viewBox[2], width); 50 box.fBottom = SkScalarDiv(viewBox[3], height);
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGFitToViewBox.cpp | 38 bool SVGFitToViewBox::parseViewBox(Document* doc, const String& s, FloatRect& viewBox) argument 42 return parseViewBox(doc, c, end, viewBox, true); 45 bool SVGFitToViewBox::parseViewBox(Document* doc, const UChar*& c, const UChar* end, FloatRect& viewBox, bool validate) argument 57 viewBox = FloatRect(x, y, width, height); 61 doc->accessSVGExtensions()->reportWarning("Problem parsing viewBox=\"" + str + "\""); 75 doc->accessSVGExtensions()->reportWarning("Problem parsing viewBox=\"" + str + "\""); 79 viewBox = FloatRect(x, y, width, height); 94 FloatRect viewBox; local 96 if (!parseViewBox(document, attr->value(), viewBox)) 99 setViewBoxBaseValue(viewBox); [all...] |
H A D | SVGViewSpec.cpp | 34 DEFINE_ANIMATED_RECT(SVGViewSpec, SVGNames::viewBoxAttr, ViewBox, viewBox) 49 FloatRect viewBox; local 52 if (!parseViewBox(m_contextElement->document(), c, end, viewBox, false)) 54 setViewBoxBaseValue(viewBox); 100 FloatRect viewBox; local 101 if (!parseViewBox(m_contextElement->document(), currViewSpec, end, viewBox, false)) 103 setViewBoxBaseValue(viewBox);
|
H A D | PatternAttributes.h | 59 FloatRect viewBox() const { return m_viewBox; } function in struct:WebCore::PatternAttributes
|
Completed in 85 milliseconds