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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 private: | 56 private: |
57 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); | 57 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); |
58 | 58 |
59 sk_sp<SkImageFilter> createImageFilter() override; | 59 sk_sp<SkImageFilter> createImageFilter() override; |
60 | 60 |
61 bool affectsTransparentPixels() const override; | 61 bool affectsTransparentPixels() const override; |
62 | 62 |
63 ColorMatrixType m_type; | 63 ColorMatrixType m_type; |
64 | 64 |
65 // The m_values vector may not contain the right number of values. Always chec
k | 65 // The m_values vector may not contain the right number of values. Always |
66 // before accessing contents. | 66 // check before accessing contents. |
67 Vector<float> m_values; | 67 Vector<float> m_values; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // FEColorMatrix_h | 72 #endif // FEColorMatrix_h |
OLD | NEW |