| 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 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 public: | 42 public: |
| 43 static PassRefPtr<FEColorMatrix> create(Filter*, ColorMatrixType, const Vect
or<float>&); | 43 static PassRefPtr<FEColorMatrix> create(Filter*, ColorMatrixType, const Vect
or<float>&); |
| 44 | 44 |
| 45 ColorMatrixType type() const; | 45 ColorMatrixType type() const; |
| 46 bool setType(ColorMatrixType); | 46 bool setType(ColorMatrixType); |
| 47 | 47 |
| 48 const Vector<float>& values() const; | 48 const Vector<float>& values() const; |
| 49 bool setValues(const Vector<float>&); | 49 bool setValues(const Vector<float>&); |
| 50 | 50 |
| 51 virtual void platformApplySoftware(); | 51 virtual void platformApplySoftware(); |
| 52 #if USE(SKIA) | |
| 53 virtual bool platformApplySkia(); | |
| 54 #endif | |
| 55 virtual void dump(); | 52 virtual void dump(); |
| 56 | 53 |
| 57 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 54 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
| 58 | 55 |
| 59 private: | 56 private: |
| 60 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); | 57 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); |
| 61 | 58 |
| 62 ColorMatrixType m_type; | 59 ColorMatrixType m_type; |
| 63 Vector<float> m_values; | 60 Vector<float> m_values; |
| 64 }; | 61 }; |
| 65 | 62 |
| 66 } // namespace WebCore | 63 } // namespace WebCore |
| 67 | 64 |
| 68 #endif // ENABLE(FILTERS) | 65 #endif // ENABLE(FILTERS) |
| 69 | 66 |
| 70 #endif // FEColorMatrix_h | 67 #endif // FEColorMatrix_h |
| OLD | NEW |