| 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) 2010 Zoltan Herczeg <zherczeg@webkit.org> | 5 * Copyright (C) 2010 Zoltan Herczeg <zherczeg@webkit.org> |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 FloatPoint kernelUnitLength() const; | 69 FloatPoint kernelUnitLength() const; |
| 70 bool setKernelUnitLength(const FloatPoint&); | 70 bool setKernelUnitLength(const FloatPoint&); |
| 71 | 71 |
| 72 bool preserveAlpha() const; | 72 bool preserveAlpha() const; |
| 73 bool setPreserveAlpha(bool); | 73 bool setPreserveAlpha(bool); |
| 74 | 74 |
| 75 virtual void apply(); | 75 virtual void apply(); |
| 76 virtual void dump(); | 76 virtual void dump(); |
| 77 | 77 |
| 78 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe
ct()); } | 78 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn
tRect(maxEffectRect())); } |
| 79 | 79 |
| 80 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 80 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 FEConvolveMatrix(Filter*, const IntSize&, float, float, | 83 FEConvolveMatrix(Filter*, const IntSize&, float, float, |
| 84 const IntPoint&, EdgeModeType, const FloatPoint&, bool, const Vector
<float>&); | 84 const IntPoint&, EdgeModeType, const FloatPoint&, bool, const Vector
<float>&); |
| 85 | 85 |
| 86 struct PaintingData { | 86 struct PaintingData { |
| 87 ByteArray* srcPixelArray; | 87 ByteArray* srcPixelArray; |
| 88 ByteArray* dstPixelArray; | 88 ByteArray* dstPixelArray; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 111 FloatPoint m_kernelUnitLength; | 111 FloatPoint m_kernelUnitLength; |
| 112 bool m_preserveAlpha; | 112 bool m_preserveAlpha; |
| 113 Vector<float> m_kernelMatrix; | 113 Vector<float> m_kernelMatrix; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace WebCore | 116 } // namespace WebCore |
| 117 | 117 |
| 118 #endif // ENABLE(FILTERS) | 118 #endif // ENABLE(FILTERS) |
| 119 | 119 |
| 120 #endif // FEConvolveMatrix_h | 120 #endif // FEConvolveMatrix_h |
| OLD | NEW |