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 |
52 virtual void dump(); | 55 virtual void dump(); |
53 | 56 |
54 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 57 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
55 | 58 |
56 private: | 59 private: |
57 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); | 60 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); |
58 | 61 |
59 ColorMatrixType m_type; | 62 ColorMatrixType m_type; |
60 Vector<float> m_values; | 63 Vector<float> m_values; |
61 }; | 64 }; |
62 | 65 |
63 } // namespace WebCore | 66 } // namespace WebCore |
64 | 67 |
65 #endif // ENABLE(FILTERS) | 68 #endif // ENABLE(FILTERS) |
66 | 69 |
67 #endif // FEColorMatrix_h | 70 #endif // FEColorMatrix_h |
OLD | NEW |