Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1836)

Unified Diff: Source/core/svg/graphics/filters/SVGFilter.h

Issue 14701012: Refactor m_absoluteTransform out of SVGFilter and into base class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix copyrights Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFEImage.cpp ('k') | Source/core/svg/graphics/filters/SVGFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/filters/SVGFilter.h
diff --git a/Source/core/svg/graphics/filters/SVGFilter.h b/Source/core/svg/graphics/filters/SVGFilter.h
index c65f809380dea96620e829281a9387559054fe34..61ed399d568347e7ba70cbc95062183c42a35bb3 100644
--- a/Source/core/svg/graphics/filters/SVGFilter.h
+++ b/Source/core/svg/graphics/filters/SVGFilter.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -40,9 +41,6 @@ public:
FloatRect filterRegionInUserSpace() const { return m_filterRegion; }
virtual FloatRect filterRegion() const { return m_absoluteFilterRegion; }
- virtual FloatPoint mapAbsolutePointToLocalPoint(const FloatPoint& point) const { return m_absoluteTransform.inverse().mapPoint(point); }
- const AffineTransform& absoluteTransform() const { return m_absoluteTransform; }
-
virtual float applyHorizontalScale(float value) const;
virtual float applyVerticalScale(float value) const;
@@ -52,7 +50,6 @@ public:
private:
SVGFilter(const AffineTransform& absoluteTransform, const FloatRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode);
- AffineTransform m_absoluteTransform;
FloatRect m_absoluteSourceDrawingRegion;
FloatRect m_targetBoundingBox;
FloatRect m_absoluteFilterRegion;
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFEImage.cpp ('k') | Source/core/svg/graphics/filters/SVGFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698