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

  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFitToViewBox.h 48 FloatRect viewBox;
49 bool valueIsValid = !value.isNull() && parseViewBox(target->document(), value, viewBox);
50 target->setViewBoxBaseValue(viewBox, valueIsValid);
64 static bool parseViewBox(Document*, const LChar*& start, const LChar* end, FloatRect& viewBox, bool validate = true);
65 static bool parseViewBox(Document*, const UChar*& start, const UChar* end, FloatRect& viewBox, bool validate = true);
SVGViewSpec.cpp 34 // Define custom animated property 'viewBox'.
159 PassRefPtr<SVGAnimatedRect> SVGViewSpec::viewBox()
226 FloatRect viewBox;
227 if (!SVGFitToViewBox::parseViewBox(m_contextElement->document(), ptr, end, viewBox, false))
229 setViewBoxBaseValue(viewBox);
PatternAttributes.h 59 FloatRect viewBox() const { return m_viewBox; }
  /external/chromium_org/third_party/skia/src/svg/
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/skia/src/svg/
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);

Completed in 94 milliseconds