| 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 * Copyright (C) 2013 Google Inc. All rights reserved. | 6 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 public: | 43 public: |
| 44 static PassRefPtrWillBeRawPtr<FEConvolveMatrix> create(Filter*, const IntSiz
e&, | 44 static PassRefPtrWillBeRawPtr<FEConvolveMatrix> create(Filter*, const IntSiz
e&, |
| 45 float, float, const IntPoint&, EdgeModeType, bool, const Vector<float>&)
; | 45 float, float, const IntPoint&, EdgeModeType, bool, const Vector<float>&)
; |
| 46 | 46 |
| 47 bool setDivisor(float); | 47 bool setDivisor(float); |
| 48 bool setBias(float); | 48 bool setBias(float); |
| 49 bool setTargetOffset(const IntPoint&); | 49 bool setTargetOffset(const IntPoint&); |
| 50 bool setEdgeMode(EdgeModeType); | 50 bool setEdgeMode(EdgeModeType); |
| 51 bool setPreserveAlpha(bool); | 51 bool setPreserveAlpha(bool); |
| 52 | 52 |
| 53 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) overrid
e; | |
| 54 | |
| 55 FloatRect mapPaintRect(const FloatRect&, bool forward = true) final; | 53 FloatRect mapPaintRect(const FloatRect&, bool forward = true) final; |
| 56 | 54 |
| 57 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; | 55 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; |
| 58 | 56 |
| 59 private: | 57 private: |
| 60 FEConvolveMatrix(Filter*, const IntSize&, float, float, | 58 FEConvolveMatrix(Filter*, const IntSize&, float, float, |
| 61 const IntPoint&, EdgeModeType, bool, const Vector<float>&); | 59 const IntPoint&, EdgeModeType, bool, const Vector<float>&); |
| 62 | 60 |
| 61 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) overrid
e; |
| 62 |
| 63 bool parametersValid() const; | 63 bool parametersValid() const; |
| 64 | 64 |
| 65 IntSize m_kernelSize; | 65 IntSize m_kernelSize; |
| 66 float m_divisor; | 66 float m_divisor; |
| 67 float m_bias; | 67 float m_bias; |
| 68 IntPoint m_targetOffset; | 68 IntPoint m_targetOffset; |
| 69 EdgeModeType m_edgeMode; | 69 EdgeModeType m_edgeMode; |
| 70 bool m_preserveAlpha; | 70 bool m_preserveAlpha; |
| 71 Vector<float> m_kernelMatrix; | 71 Vector<float> m_kernelMatrix; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // FEConvolveMatrix_h | 76 #endif // FEConvolveMatrix_h |
| OLD | NEW |