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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 float intercept; | 54 float intercept; |
55 float amplitude; | 55 float amplitude; |
56 float exponent; | 56 float exponent; |
57 float offset; | 57 float offset; |
58 | 58 |
59 Vector<float> tableValues; | 59 Vector<float> tableValues; |
60 }; | 60 }; |
61 | 61 |
62 class PLATFORM_EXPORT FEComponentTransfer : public FilterEffect { | 62 class PLATFORM_EXPORT FEComponentTransfer : public FilterEffect { |
63 public: | 63 public: |
64 static PassRefPtr<FEComponentTransfer> create(Filter*, const ComponentTransf
erFunction& redFunc, const ComponentTransferFunction& greenFunc, | 64 static PassRefPtrWillBeRawPtr<FEComponentTransfer> create(Filter*, const Com
ponentTransferFunction& redFunc, const ComponentTransferFunction& greenFunc, |
65 const ComponentTransferFunction& blueFunc, const ComponentTransferFuncti
on& alphaFunc); | 65 const ComponentTransferFunction& blueFunc, const ComponentTransferFuncti
on& alphaFunc); |
66 | 66 |
67 ComponentTransferFunction redFunction() const; | 67 ComponentTransferFunction redFunction() const; |
68 void setRedFunction(const ComponentTransferFunction&); | 68 void setRedFunction(const ComponentTransferFunction&); |
69 | 69 |
70 ComponentTransferFunction greenFunction() const; | 70 ComponentTransferFunction greenFunction() const; |
71 void setGreenFunction(const ComponentTransferFunction&); | 71 void setGreenFunction(const ComponentTransferFunction&); |
72 | 72 |
73 ComponentTransferFunction blueFunction() const; | 73 ComponentTransferFunction blueFunction() const; |
74 void setBlueFunction(const ComponentTransferFunction&); | 74 void setBlueFunction(const ComponentTransferFunction&); |
(...skipping 15 matching lines...) Expand all Loading... |
90 | 90 |
91 ComponentTransferFunction m_redFunc; | 91 ComponentTransferFunction m_redFunc; |
92 ComponentTransferFunction m_greenFunc; | 92 ComponentTransferFunction m_greenFunc; |
93 ComponentTransferFunction m_blueFunc; | 93 ComponentTransferFunction m_blueFunc; |
94 ComponentTransferFunction m_alphaFunc; | 94 ComponentTransferFunction m_alphaFunc; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace blink | 97 } // namespace blink |
98 | 98 |
99 #endif // FEComponentTransfer_h | 99 #endif // FEComponentTransfer_h |
OLD | NEW |