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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 bool setEdgeMode(EdgeModeType); | 64 bool setEdgeMode(EdgeModeType); |
65 | 65 |
66 FloatPoint kernelUnitLength() const; | 66 FloatPoint kernelUnitLength() const; |
67 bool setKernelUnitLength(const FloatPoint&); | 67 bool setKernelUnitLength(const FloatPoint&); |
68 | 68 |
69 bool preserveAlpha() const; | 69 bool preserveAlpha() const; |
70 bool setPreserveAlpha(bool); | 70 bool setPreserveAlpha(bool); |
71 | 71 |
72 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
override; | 72 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
override; |
73 | 73 |
74 virtual FloatRect mapPaintRect(const FloatRect&, bool forward = true) overri
de FINAL; | 74 virtual FloatRect mapPaintRect(const FloatRect&, bool forward = true) overri
de final; |
75 | 75 |
76 virtual TextStream& externalRepresentation(TextStream&, int indention) const
override; | 76 virtual TextStream& externalRepresentation(TextStream&, int indention) const
override; |
77 | 77 |
78 private: | 78 private: |
79 | 79 |
80 struct PaintingData { | 80 struct PaintingData { |
81 Uint8ClampedArray* srcPixelArray; | 81 Uint8ClampedArray* srcPixelArray; |
82 Uint8ClampedArray* dstPixelArray; | 82 Uint8ClampedArray* dstPixelArray; |
83 int width; | 83 int width; |
84 int height; | 84 int height; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 IntPoint m_targetOffset; | 125 IntPoint m_targetOffset; |
126 EdgeModeType m_edgeMode; | 126 EdgeModeType m_edgeMode; |
127 FloatPoint m_kernelUnitLength; | 127 FloatPoint m_kernelUnitLength; |
128 bool m_preserveAlpha; | 128 bool m_preserveAlpha; |
129 Vector<float> m_kernelMatrix; | 129 Vector<float> m_kernelMatrix; |
130 }; | 130 }; |
131 | 131 |
132 } // namespace blink | 132 } // namespace blink |
133 | 133 |
134 #endif // FEConvolveMatrix_h | 134 #endif // FEConvolveMatrix_h |
OLD | NEW |