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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPatternElement.h

Issue 2711503002: Compute a more correct "screen scope" transform for SVGSVGElement (Closed)
Patch Set: Tweak test Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 30 matching lines...) Expand all
41 public SVGTests, 41 public SVGTests,
42 public SVGFitToViewBox { 42 public SVGFitToViewBox {
43 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
44 USING_GARBAGE_COLLECTED_MIXIN(SVGPatternElement); 44 USING_GARBAGE_COLLECTED_MIXIN(SVGPatternElement);
45 45
46 public: 46 public:
47 DECLARE_NODE_FACTORY(SVGPatternElement); 47 DECLARE_NODE_FACTORY(SVGPatternElement);
48 48
49 void collectPatternAttributes(PatternAttributes&) const; 49 void collectPatternAttributes(PatternAttributes&) const;
50 50
51 AffineTransform localCoordinateSpaceTransform( 51 AffineTransform localCoordinateSpaceTransform() const override;
52 SVGElement::CTMScope) const override;
53 52
54 SVGAnimatedLength* x() const { return m_x.get(); } 53 SVGAnimatedLength* x() const { return m_x.get(); }
55 SVGAnimatedLength* y() const { return m_y.get(); } 54 SVGAnimatedLength* y() const { return m_y.get(); }
56 SVGAnimatedLength* width() const { return m_width.get(); } 55 SVGAnimatedLength* width() const { return m_width.get(); }
57 SVGAnimatedLength* height() const { return m_height.get(); } 56 SVGAnimatedLength* height() const { return m_height.get(); }
58 SVGAnimatedTransformList* patternTransform() { 57 SVGAnimatedTransformList* patternTransform() {
59 return m_patternTransform.get(); 58 return m_patternTransform.get();
60 } 59 }
61 const SVGAnimatedTransformList* patternTransform() const { 60 const SVGAnimatedTransformList* patternTransform() const {
62 return m_patternTransform.get(); 61 return m_patternTransform.get();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 Member<SVGAnimatedLength> m_height; 100 Member<SVGAnimatedLength> m_height;
102 Member<SVGAnimatedTransformList> m_patternTransform; 101 Member<SVGAnimatedTransformList> m_patternTransform;
103 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_patternUnits; 102 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_patternUnits;
104 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> 103 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>>
105 m_patternContentUnits; 104 m_patternContentUnits;
106 }; 105 };
107 106
108 } // namespace blink 107 } // namespace blink
109 108
110 #endif // SVGPatternElement_h 109 #endif // SVGPatternElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698