KHTML
SVGStyledLocatableElement.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "config.h"
00024 #include "wtf/Platform.h"
00025
00026 #if ENABLE(SVG)
00027 #include "SVGStyledLocatableElement.h"
00028
00029
00030 #include "SVGElement.h"
00031 #include "AffineTransform.h"
00032 #include "SVGSVGElement.h"
00033
00034 namespace WebCore {
00035
00036 SVGStyledLocatableElement::SVGStyledLocatableElement(const QualifiedName& tagName, Document* doc)
00037 : SVGLocatable()
00038 , SVGStyledElement(tagName, doc)
00039 {
00040 }
00041
00042 SVGStyledLocatableElement::~SVGStyledLocatableElement()
00043 {
00044 }
00045
00046 SVGElement* SVGStyledLocatableElement::nearestViewportElement() const
00047 {
00048 return SVGLocatable::nearestViewportElement(this);
00049 }
00050
00051 SVGElement* SVGStyledLocatableElement::farthestViewportElement() const
00052 {
00053 return SVGLocatable::farthestViewportElement(this);
00054 }
00055
00056 FloatRect SVGStyledLocatableElement::getBBox() const
00057 {
00058 return SVGLocatable::getBBox(this);
00059 }
00060
00061 AffineTransform SVGStyledLocatableElement::getCTM() const
00062 {
00063 return SVGLocatable::getCTM(this);
00064 }
00065
00066 AffineTransform SVGStyledLocatableElement::getScreenCTM() const
00067 {
00068 return SVGLocatable::getScreenCTM(this);
00069 }
00070
00071 }
00072
00073 #endif // ENABLE(SVG)