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

Side by Side Diff: Source/WebCore/platform/graphics/filters/FEDisplacementMap.h

Issue 6949013: Merge 85926 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 ChannelSelectorType yChannelSelector() const; 47 ChannelSelectorType yChannelSelector() const;
48 bool setYChannelSelector(const ChannelSelectorType); 48 bool setYChannelSelector(const ChannelSelectorType);
49 49
50 float scale() const; 50 float scale() const;
51 bool setScale(float); 51 bool setScale(float);
52 52
53 virtual void apply(); 53 virtual void apply();
54 virtual void dump(); 54 virtual void dump();
55 55
56 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe ct()); } 56 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn tRect(maxEffectRect())); }
57 57
58 virtual TextStream& externalRepresentation(TextStream&, int indention) const ; 58 virtual TextStream& externalRepresentation(TextStream&, int indention) const ;
59 59
60 private: 60 private:
61 FEDisplacementMap(Filter*, ChannelSelectorType xChannelSelector, ChannelSele ctorType yChannelSelector, float); 61 FEDisplacementMap(Filter*, ChannelSelectorType xChannelSelector, ChannelSele ctorType yChannelSelector, float);
62 62
63 ChannelSelectorType m_xChannelSelector; 63 ChannelSelectorType m_xChannelSelector;
64 ChannelSelectorType m_yChannelSelector; 64 ChannelSelectorType m_yChannelSelector;
65 float m_scale; 65 float m_scale;
66 }; 66 };
67 67
68 } // namespace WebCore 68 } // namespace WebCore
69 69
70 #endif // ENABLE(FILTERS) 70 #endif // ENABLE(FILTERS)
71 71
72 #endif // FEDisplacementMap_h 72 #endif // FEDisplacementMap_h
OLDNEW
« no previous file with comments | « Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h ('k') | Source/WebCore/platform/graphics/filters/FEFlood.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698