KHTML
SVGTransformable.h
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 #ifndef SVGTransformable_h
00024 #define SVGTransformable_h
00025
00026 #if ENABLE(SVG)
00027
00028 #include "SVGLocatable.h"
00029
00030 namespace WebCore {
00031
00032 class AffineTransform;
00033
00034 class SVGTransform;
00035 class SVGTransformList;
00036
00037
00038 class SVGTransformable : virtual public SVGLocatable {
00039 public:
00040 SVGTransformable();
00041 virtual ~SVGTransformable();
00042
00043 static bool parseTransformAttribute(SVGTransformList*, const AtomicString& transform);
00044 static bool parseTransformAttribute(SVGTransformList*, const UChar*& ptr, const UChar* end);
00045 static bool parseTransformValue(unsigned type, const UChar*& ptr, const UChar* end, SVGTransform&);
00046
00047 AffineTransform getCTM(const SVGElement*) const;
00048 AffineTransform getScreenCTM(const SVGElement*) const;
00049
00050 virtual AffineTransform animatedLocalTransform() const = 0;
00051
00052 bool isKnownAttribute(const QualifiedName&);
00053 };
00054
00055 }
00056
00057 #endif // ENABLE(SVG)
00058 #endif // SVGTransformable_h