summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFitToViewBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFitToViewBox.h')
-rw-r--r--WebCore/svg/SVGFitToViewBox.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/WebCore/svg/SVGFitToViewBox.h b/WebCore/svg/SVGFitToViewBox.h
index 20fb7c1..ef7e54b 100644
--- a/WebCore/svg/SVGFitToViewBox.h
+++ b/WebCore/svg/SVGFitToViewBox.h
@@ -27,22 +27,22 @@
namespace WebCore {
- class TransformationMatrix;
+class AffineTransform;
- class SVGFitToViewBox {
- public:
- SVGFitToViewBox();
- virtual ~SVGFitToViewBox();
+class SVGFitToViewBox {
+public:
+ SVGFitToViewBox();
+ virtual ~SVGFitToViewBox();
- bool parseViewBox(Document*, const UChar*& start, const UChar* end, float& x, float& y, float& w, float& h, bool validate = true);
- static TransformationMatrix viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio&, float viewWidth, float viewHeight);
+ bool parseViewBox(Document*, const UChar*& start, const UChar* end, float& x, float& y, float& w, float& h, bool validate = true);
+ static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio&, float viewWidth, float viewHeight);
- bool parseMappedAttribute(Document*, MappedAttribute*);
- bool isKnownAttribute(const QualifiedName&);
+ bool parseMappedAttribute(Document*, MappedAttribute*);
+ bool isKnownAttribute(const QualifiedName&);
- virtual void setViewBoxBaseValue(SVGAnimatedPropertyTraits<FloatRect>::PassType) = 0;
- virtual void setPreserveAspectRatioBaseValue(SVGAnimatedPropertyTraits<SVGPreserveAspectRatio>::PassType) = 0;
- };
+ virtual void setViewBoxBaseValue(SVGAnimatedPropertyTraits<FloatRect>::PassType) = 0;
+ virtual void setPreserveAspectRatioBaseValue(SVGAnimatedPropertyTraits<SVGPreserveAspectRatio>::PassType) = 0;
+};
} // namespace WebCore