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

  /external/webkit/WebCore/rendering/
RenderSVGViewportContainer.cpp 25 #if ENABLE(SVG)
74 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
76 if (!selfNeedsLayout() && !svg->hasRelativeValues())
79 float x = svg->x().value(svg);
80 float y = svg->y().value(svg);
81 float w = svg->width().value(svg);
82 float h = svg->height().value(svg)
98 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
    [all...]
RenderSVGRoot.cpp 25 #if ENABLE(SVG)
95 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
96 setWidth(static_cast<int>(width() * svg->currentScale()));
97 setHeight(static_cast<int>(height() * svg->currentScale()));
101 // if the outermost <svg> is using relative x/y/width/height values. Hence the additonal parameters.
102 layoutChildren(this, selfNeedsLayout() || (svg->hasRelativeValues() && (width() != oldWidth || height() != oldHeight)));
146 // Convert from container offsets (html renderers) to a relative transform (svg renderers).
171 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
173 if (!selfNeedsLayout() && !svg->hasRelativeValues())
176 if (!svg->hasSetContainerSize())
196 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
    [all...]
  /external/webkit/WebCore/svg/
SVGLength.cpp 24 #if ENABLE(SVG)
150 // Use of ceil allows a pixel match to the W3Cs expected output of coords-units-03-b.svg
292 const SVGSVGElement* svg = static_cast<const SVGSVGElement*>(viewportElement); local
293 if (svg->hasAttribute(SVGNames::viewBoxAttr)) {
294 width = svg->viewBox().width();
295 height = svg->viewBox().height();
297 width = svg->width().value(svg);
298 height = svg->height().value(svg);
    [all...]
  /external/webkit/WebKit/qt/tests/qwebelement/
tst_qwebelement.cpp 152 "xmlns:svg=\"http://www.w3.org/2000/svg\">"
153 "<body><svg:svg id=\"foobar\" width=\"400px\" height=\"300px\">"
154 "</svg:svg></body></html>";
158 QWebElement svg = m_mainFrame->findFirstElement("svg"); local
159 QVERIFY(!svg.isNull());
161 QVERIFY(!svg.hasAttributeNS("http://www.w3.org/2000/svg", "foobar"))
177 QWebElement svg = m_mainFrame->findFirstElement("svg"); local
268 QWebElement svg = body.findAll("*#foobar").at(0); local
    [all...]
  /external/webkit/WebCore/page/
FrameView.cpp 68 #if ENABLE(SVG)
631 #if ENABLE(SVG)
892 #if ENABLE(SVG)
897 RefPtr<SVGSVGElement> svg = static_cast<SVGDocument*>(m_frame->document())->rootElement(); local
898 if (!svg->currentView()->parseViewSpec(name))
900 svg->setUseCurrentView(true);
905 RefPtr<SVGSVGElement> svg = static_cast<SVGSVGElement*>(SVGLocatable::nearestViewportElement(viewElement.get())); local
906 svg->inheritViewAttributes(viewElement.get());
910 // FIXME: need to decide which <svg> to focus on, and zoom to that one
    [all...]

Completed in 7736 milliseconds