OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 enum CompositeOperationType { | 32 enum CompositeOperationType { |
33 FECOMPOSITE_OPERATOR_UNKNOWN = 0, | 33 FECOMPOSITE_OPERATOR_UNKNOWN = 0, |
34 FECOMPOSITE_OPERATOR_OVER = 1, | 34 FECOMPOSITE_OPERATOR_OVER = 1, |
35 FECOMPOSITE_OPERATOR_IN = 2, | 35 FECOMPOSITE_OPERATOR_IN = 2, |
36 FECOMPOSITE_OPERATOR_OUT = 3, | 36 FECOMPOSITE_OPERATOR_OUT = 3, |
37 FECOMPOSITE_OPERATOR_ATOP = 4, | 37 FECOMPOSITE_OPERATOR_ATOP = 4, |
38 FECOMPOSITE_OPERATOR_XOR = 5, | 38 FECOMPOSITE_OPERATOR_XOR = 5, |
39 FECOMPOSITE_OPERATOR_ARITHMETIC = 6 | 39 FECOMPOSITE_OPERATOR_ARITHMETIC = 6, |
| 40 FECOMPOSITE_OPERATOR_LIGHTER = 7 |
40 }; | 41 }; |
41 | 42 |
42 class PLATFORM_EXPORT FEComposite : public FilterEffect { | 43 class PLATFORM_EXPORT FEComposite : public FilterEffect { |
43 public: | 44 public: |
44 static PassRefPtrWillBeRawPtr<FEComposite> create(Filter*, const CompositeOp
erationType&, float, float, float, float); | 45 static PassRefPtrWillBeRawPtr<FEComposite> create(Filter*, const CompositeOp
erationType&, float, float, float, float); |
45 | 46 |
46 CompositeOperationType operation() const; | 47 CompositeOperationType operation() const; |
47 bool setOperation(CompositeOperationType); | 48 bool setOperation(CompositeOperationType); |
48 | 49 |
49 float k1() const; | 50 float k1() const; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 CompositeOperationType m_type; | 83 CompositeOperationType m_type; |
83 float m_k1; | 84 float m_k1; |
84 float m_k2; | 85 float m_k2; |
85 float m_k3; | 86 float m_k3; |
86 float m_k4; | 87 float m_k4; |
87 }; | 88 }; |
88 | 89 |
89 } // namespace blink | 90 } // namespace blink |
90 | 91 |
91 #endif // FEComposite_h | 92 #endif // FEComposite_h |
OLD | NEW |