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

Side by Side Diff: Source/WebCore/platform/graphics/filters/FEFlood.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 24 matching lines...) Expand all
35 35
36 Color floodColor() const; 36 Color floodColor() const;
37 bool setFloodColor(const Color &); 37 bool setFloodColor(const Color &);
38 38
39 float floodOpacity() const; 39 float floodOpacity() const;
40 bool setFloodOpacity(float); 40 bool setFloodOpacity(float);
41 41
42 virtual void apply(); 42 virtual void apply();
43 virtual void dump(); 43 virtual void dump();
44 44
45 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe ct()); } 45 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn tRect(maxEffectRect())); }
46 46
47 virtual TextStream& externalRepresentation(TextStream&, int indention) const ; 47 virtual TextStream& externalRepresentation(TextStream&, int indention) const ;
48 48
49 private: 49 private:
50 FEFlood(Filter*, const Color&, float); 50 FEFlood(Filter*, const Color&, float);
51 51
52 Color m_floodColor; 52 Color m_floodColor;
53 float m_floodOpacity; 53 float m_floodOpacity;
54 }; 54 };
55 55
56 } // namespace WebCore 56 } // namespace WebCore
57 57
58 #endif // ENABLE(FILTERS) 58 #endif // ENABLE(FILTERS)
59 59
60 #endif // FEFlood_h 60 #endif // FEFlood_h
OLDNEW
« no previous file with comments | « Source/WebCore/platform/graphics/filters/FEDisplacementMap.h ('k') | Source/WebCore/platform/graphics/filters/FELighting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698