Home
last modified time | relevance | path

Searched refs:viewBox (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFitToViewBox.cpp36 …l(Document* document, const CharType*& ptr, const CharType* end, FloatRect& viewBox, bool validate) in parseViewBoxInternal() argument
48 viewBox = FloatRect(x, y, width, height); in parseViewBoxInternal()
70 viewBox = FloatRect(x, y, width, height); in parseViewBoxInternal()
74 …ViewBox(Document* document, const LChar*& ptr, const LChar* end, FloatRect& viewBox, bool validate) in parseViewBox() argument
76 return parseViewBoxInternal(document, ptr, end, viewBox, validate); in parseViewBox()
79 …ViewBox(Document* document, const UChar*& ptr, const UChar* end, FloatRect& viewBox, bool validate) in parseViewBox() argument
81 return parseViewBoxInternal(document, ptr, end, viewBox, validate); in parseViewBox()
84 bool SVGFitToViewBox::parseViewBox(Document* document, const String& string, FloatRect& viewBox) in parseViewBox() argument
88 return parseViewBoxInternal<LChar>(document, ptr, ptr, viewBox, true); in parseViewBox()
93 return parseViewBox(document, ptr, end, viewBox, true); in parseViewBox()
[all …]
DSVGFitToViewBox.h47 FloatRect viewBox; in parseAttribute() local
48 … bool valueIsValid = !value.isNull() && parseViewBox(&target->document(), value, viewBox); in parseAttribute()
50 target->setViewBoxBaseValue(viewBox); in parseAttribute()
66 …static bool parseViewBox(Document*, const LChar*& start, const LChar* end, FloatRect& viewBox, boo…
67 …static bool parseViewBox(Document*, const UChar*& start, const UChar* end, FloatRect& viewBox, boo…
DSVGViewSpec.h73 PassRefPtr<SVGAnimatedRect> viewBox();
76 void setViewBoxBaseValue(const SVGRect& viewBox) { m_viewBox = viewBox; } in setViewBoxBaseValue() argument
DSVGViewSpec.cpp156 PassRefPtr<SVGAnimatedRect> SVGViewSpec::viewBox() in viewBox() function in WebCore::SVGViewSpec
223 SVGRect viewBox; in parseViewSpecInternal() local
224 … if (!SVGFitToViewBox::parseViewBox(&m_contextElement.get()->document(), ptr, end, viewBox, false)) in parseViewSpecInternal()
226 setViewBoxBaseValue(viewBox); in parseViewSpecInternal()
DSVGViewElement.cpp30 DEFINE_ANIMATED_RECT(SVGViewElement, SVGNames::viewBoxAttr, ViewBox, viewBox) in DEFINE_ANIMATED_BOOLEAN()
35 REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) in DEFINE_ANIMATED_BOOLEAN()
DSVGSymbolElement.cpp34 DEFINE_ANIMATED_RECT(SVGSymbolElement, SVGNames::viewBoxAttr, ViewBox, viewBox) in DEFINE_ANIMATED_BOOLEAN()
38 REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) in DEFINE_ANIMATED_BOOLEAN()
DSVGSymbolElement.h54 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DSVGViewElement.h61 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DSVGMarkerElement.cpp55 DEFINE_ANIMATED_RECT(SVGMarkerElement, SVGNames::viewBoxAttr, ViewBox, viewBox) in DEFINE_ANIMATED_LENGTH()
67 REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) in DEFINE_ANIMATED_LENGTH()
DSVGPatternElement.h79 DECLARE_ANIMATED_RECT(ViewBox, viewBox) in DECLARE_ANIMATED_LENGTH()
DSVGPatternElement.cpp44 DEFINE_ANIMATED_RECT(SVGPatternElement, SVGNames::viewBoxAttr, ViewBox, viewBox) in DEFINE_ANIMATED_LENGTH()
57 REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) in DEFINE_ANIMATED_LENGTH()
DPatternAttributes.h59 FloatRect viewBox() const { return m_viewBox; } in viewBox() function
DSVGMarkerElement.h161 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DSVGFitToViewBox.idl31 readonly attribute SVGAnimatedRect viewBox;
DSVGSVGElement.h169 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DSVGAttributeNames.in235 viewBox
DSVGSVGElement.cpp70 DEFINE_ANIMATED_RECT(SVGSVGElement, SVGNames::viewBoxAttr, ViewBox, viewBox) in DEFINE_ANIMATED_LENGTH()
78 REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) in DEFINE_ANIMATED_LENGTH()
/external/chromium_org/third_party/skia/src/svg/
DSkSVGSVG.cpp21 SVG_ATTRIBUTE(viewBox),
38 SkScalar viewBox[4]; in translate() local
45 SkParse::FindScalars(f_viewBox.c_str(), viewBox, 4); in translate()
47 box.fLeft = SkScalarDiv(viewBox[0], width); in translate()
48 box.fTop = SkScalarDiv(viewBox[1], height); in translate()
49 box.fRight = SkScalarDiv(viewBox[2], width); in translate()
50 box.fBottom = SkScalarDiv(viewBox[3], height); in translate()
DSkSVGSymbol.cpp14 SVG_ATTRIBUTE(viewBox)
/external/skia/src/svg/
DSkSVGSVG.cpp21 SVG_ATTRIBUTE(viewBox),
38 SkScalar viewBox[4]; in translate() local
45 SkParse::FindScalars(f_viewBox.c_str(), viewBox, 4); in translate()
47 box.fLeft = SkScalarDiv(viewBox[0], width); in translate()
48 box.fTop = SkScalarDiv(viewBox[1], height); in translate()
49 box.fRight = SkScalarDiv(viewBox[2], width); in translate()
50 box.fBottom = SkScalarDiv(viewBox[3], height); in translate()
DSkSVGSymbol.cpp14 SVG_ATTRIBUTE(viewBox)
/external/chromium_org/ui/webui/resources/images/
Dthrobber.svg1 <svg width="16" height="16" viewBox="0 0 300 300"
/external/chromium/chrome/browser/resources/shared/images/
Dthrobber.svg1 <svg width="16" height="16" viewBox="0 0 300 300"
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGResourcePattern.cpp77 if (m_attributes.hasViewBox() && m_attributes.viewBox().isEmpty()) in buildPattern()
224 …AffineTransform viewBoxCTM = SVGFitToViewBox::viewBoxToViewTransform(attributes.viewBox(), attribu… in buildTileImageTransform()
/external/chromium_org/third_party/WebKit/ManualTests/
Dsvg-cursor-changes.svg1 <svg width="100%" height="100%" viewBox="0 0 300 600" xmlns="http://www.w3.org/2000/svg" xmlns:xlin…

12