SVGStyledLocatableElement.cpp [plain text]
#include "config.h"
#if SVG_SUPPORT
#include "SVGStyledLocatableElement.h"
#include "SVGElement.h"
#include "SVGMatrix.h"
#include "SVGRect.h"
#include "SVGSVGElement.h"
#include <kcanvas/RenderPath.h>
using namespace WebCore;
SVGStyledLocatableElement::SVGStyledLocatableElement(const QualifiedName& tagName, Document *doc)
: SVGStyledElement(tagName, doc), SVGLocatable()
{
}
SVGStyledLocatableElement::~SVGStyledLocatableElement()
{
}
SVGElement *SVGStyledLocatableElement::nearestViewportElement() const
{
return SVGLocatable::nearestViewportElement(this);
}
SVGElement *SVGStyledLocatableElement::farthestViewportElement() const
{
return SVGLocatable::farthestViewportElement(this);
}
FloatRect SVGStyledLocatableElement::getBBox() const
{
return SVGLocatable::getBBox(this);
}
SVGMatrix *SVGStyledLocatableElement::getCTM() const
{
return SVGLocatable::getCTM(this);
}
SVGMatrix *SVGStyledLocatableElement::getScreenCTM() const
{
return SVGLocatable::getScreenCTM(this);
}
SVGMatrix *SVGStyledLocatableElement::getTransformToElement(SVGElement *) const
{
return 0;
}
#endif // SVG_SUPPORT