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

Side by Side Diff: Source/platform/graphics/filters/FEMorphology.h

Issue 107713004: Move all filters-related files from core/platform to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Maybe fix win build. Created 7 years 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 | Annotate | Revision Log
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 * Copyright (C) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 16 matching lines...) Expand all
27 #include "platform/graphics/filters/FilterEffect.h" 27 #include "platform/graphics/filters/FilterEffect.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 enum MorphologyOperatorType { 31 enum MorphologyOperatorType {
32 FEMORPHOLOGY_OPERATOR_UNKNOWN = 0, 32 FEMORPHOLOGY_OPERATOR_UNKNOWN = 0,
33 FEMORPHOLOGY_OPERATOR_ERODE = 1, 33 FEMORPHOLOGY_OPERATOR_ERODE = 1,
34 FEMORPHOLOGY_OPERATOR_DILATE = 2 34 FEMORPHOLOGY_OPERATOR_DILATE = 2
35 }; 35 };
36 36
37 class FEMorphology : public FilterEffect { 37 class PLATFORM_EXPORT FEMorphology : public FilterEffect {
38 public: 38 public:
39 static PassRefPtr<FEMorphology> create(Filter*, MorphologyOperatorType, floa t radiusX, float radiusY); 39 static PassRefPtr<FEMorphology> create(Filter*, MorphologyOperatorType, floa t radiusX, float radiusY);
40 MorphologyOperatorType morphologyOperator() const; 40 MorphologyOperatorType morphologyOperator() const;
41 bool setMorphologyOperator(MorphologyOperatorType); 41 bool setMorphologyOperator(MorphologyOperatorType);
42 42
43 float radiusX() const; 43 float radiusX() const;
44 bool setRadiusX(float); 44 bool setRadiusX(float);
45 45
46 float radiusY() const; 46 float radiusY() const;
47 bool setRadiusY(float); 47 bool setRadiusY(float);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual bool applySkia() OVERRIDE; 82 virtual bool applySkia() OVERRIDE;
83 83
84 MorphologyOperatorType m_type; 84 MorphologyOperatorType m_type;
85 float m_radiusX; 85 float m_radiusX;
86 float m_radiusY; 86 float m_radiusY;
87 }; 87 };
88 88
89 } // namespace WebCore 89 } // namespace WebCore
90 90
91 #endif // FEMorphology_h 91 #endif // FEMorphology_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FEMerge.cpp ('k') | Source/platform/graphics/filters/FEMorphology.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698