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 23 matching lines...) Expand all Loading... |
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 }; | 40 }; |
41 | 41 |
42 class PLATFORM_EXPORT FEComposite : public FilterEffect { | 42 class PLATFORM_EXPORT FEComposite : public FilterEffect { |
43 public: | 43 public: |
44 static PassRefPtr<FEComposite> create(Filter*, const CompositeOperationType&
, float, float, float, float); | 44 static PassRefPtrWillBeRawPtr<FEComposite> create(Filter*, const CompositeOp
erationType&, float, float, float, float); |
45 | 45 |
46 CompositeOperationType operation() const; | 46 CompositeOperationType operation() const; |
47 bool setOperation(CompositeOperationType); | 47 bool setOperation(CompositeOperationType); |
48 | 48 |
49 float k1() const; | 49 float k1() const; |
50 bool setK1(float); | 50 bool setK1(float); |
51 | 51 |
52 float k2() const; | 52 float k2() const; |
53 bool setK2(float); | 53 bool setK2(float); |
54 | 54 |
(...skipping 29 matching lines...) Expand all Loading... |
84 CompositeOperationType m_type; | 84 CompositeOperationType m_type; |
85 float m_k1; | 85 float m_k1; |
86 float m_k2; | 86 float m_k2; |
87 float m_k3; | 87 float m_k3; |
88 float m_k4; | 88 float m_k4; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace blink | 91 } // namespace blink |
92 | 92 |
93 #endif // FEComposite_h | 93 #endif // FEComposite_h |
OLD | NEW |