diff options
Diffstat (limited to 'WebCore/platform/graphics/filters/SourceAlpha.h')
-rw-r--r-- | WebCore/platform/graphics/filters/SourceAlpha.h | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/WebCore/platform/graphics/filters/SourceAlpha.h b/WebCore/platform/graphics/filters/SourceAlpha.h index 25a17b2..f0fa319 100644 --- a/WebCore/platform/graphics/filters/SourceAlpha.h +++ b/WebCore/platform/graphics/filters/SourceAlpha.h @@ -1,21 +1,21 @@ /* - Copyright (C) 2009 Dirk Schulze <krit@webkit.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - aint with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ + * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ #ifndef SourceAlpha_h #define SourceAlpha_h @@ -28,22 +28,25 @@ namespace WebCore { - class SourceAlpha : public FilterEffect { - public: - static PassRefPtr<SourceAlpha> create(); +class SourceAlpha : public FilterEffect { +public: + static PassRefPtr<SourceAlpha> create(); + + static const AtomicString& effectName(); + + virtual FloatRect determineFilterPrimitiveSubregion(Filter*); + + virtual void apply(Filter*); + virtual void dump(); + + virtual bool isSourceInput() const { return true; } - static const AtomicString& effectName(); + virtual TextStream& externalRepresentation(TextStream&, int indention) const; - void apply(Filter*); - void dump(); - TextStream& externalRepresentation(TextStream&, int indent) const; +private: + SourceAlpha() { } +}; - virtual bool isSourceInput() const { return true; } - virtual FloatRect determineFilterPrimitiveSubregion(Filter*); - - private: - SourceAlpha() { } - }; } //namespace WebCore #endif // ENABLE(FILTERS) |