OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
22
SVG_ATTRIBUTE(
viewBox
)
SkSVGSVG.cpp
29
SVG_ATTRIBUTE(
viewBox
),
46
SkScalar
viewBox
[4];
53
SkParse::FindScalars(f_viewBox.c_str(),
viewBox
, 4);
55
box.fLeft = SkScalarDiv(
viewBox
[0], width);
56
box.fTop = SkScalarDiv(
viewBox
[1], height);
57
box.fRight = SkScalarDiv(
viewBox
[2], width);
58
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 128 milliseconds