HomeSort by relevance Sort by last modified time
    Searched refs:viewBox (Results 1 - 20 of 20) sorted by null

  /external/webkit/Source/WebCore/svg/
SVGFitToViewBox.idl 30 readonly attribute SVGAnimatedRect viewBox;
SVGFitToViewBox.cpp 38 bool SVGFitToViewBox::parseViewBox(Document* doc, const String& s, FloatRect& viewBox)
42 return parseViewBox(doc, c, end, viewBox, true);
45 bool SVGFitToViewBox::parseViewBox(Document* doc, const UChar*& c, const UChar* end, FloatRect& viewBox, bool validate)
57 viewBox = FloatRect(x, y, width, height);
61 doc->accessSVGExtensions()->reportWarning("Problem parsing viewBox=\"" + str + "\"");
66 doc->accessSVGExtensions()->reportError("A negative value for ViewBox width is not allowed");
70 doc->accessSVGExtensions()->reportError("A negative value for ViewBox height is not allowed");
75 doc->accessSVGExtensions()->reportWarning("Problem parsing viewBox=\"" + str + "\"");
79 viewBox = FloatRect(x, y, width, height);
94 FloatRect viewBox;
    [all...]
SVGSymbolElement.h 60 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGViewElement.h 61 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGViewSpec.cpp 34 DEFINE_ANIMATED_RECT(SVGViewSpec, SVGNames::viewBoxAttr, ViewBox, viewBox)
49 FloatRect viewBox;
52 if (!parseViewBox(m_contextElement->document(), c, end, viewBox, false))
54 setViewBoxBaseValue(viewBox);
100 FloatRect viewBox;
101 if (!parseViewBox(m_contextElement->document(), currViewSpec, end, viewBox, false))
103 setViewBoxBaseValue(viewBox);
SVGFitToViewBox.h 40 bool parseViewBox(Document*, const UChar*& start, const UChar* end, FloatRect& viewBox, bool validate = true);
SVGViewSpec.h 61 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGPatternElement.h 86 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGMarkerElement.h 94 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGViewElement.cpp 36 DEFINE_ANIMATED_RECT(SVGViewElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
PatternAttributes.h 59 FloatRect viewBox() const { return m_viewBox; }
SVGSymbolElement.cpp 34 DEFINE_ANIMATED_RECT(SVGSymbolElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
SVGSVGElement.h 162 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
SVGMarkerElement.cpp 44 DEFINE_ANIMATED_RECT(SVGMarkerElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
78 return SVGFitToViewBox::viewBoxToViewTransform(viewBox(), preserveAspectRatio(), viewWidth, viewHeight);
SVGSVGElement.cpp 63 DEFINE_ANIMATED_RECT(SVGSVGElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
594 viewBoxRect = currentView()->viewBox();
596 viewBoxRect = viewBox();
613 currentView()->setViewBoxBaseValue(viewElement->viewBox());
615 currentView()->setViewBoxBaseValue(viewBox());
SVGPatternElement.cpp 55 DEFINE_ANIMATED_RECT(SVGPatternElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
255 attributes.setViewBox(current->viewBox());
SVGLength.cpp 334 width = svg->viewBox().width();
335 height = svg->viewBox().height();
  /external/skia/src/svg/
SkSVGSymbol.cpp 14 SVG_ATTRIBUTE(viewBox)
SkSVGSVG.cpp 21 SVG_ATTRIBUTE(viewBox),
38 SkScalar viewBox[4];
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/rendering/svg/
RenderSVGResourcePattern.cpp 231 AffineTransform viewBoxCTM = patternElement->viewBoxToViewTransform(attributes.viewBox(), attributes.preserveAspectRatio(), patternBoundaries.width(), patternBoundaries.height());
233 // Apply viewBox/objectBoundingBox transformations.

Completed in 888 milliseconds