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) 2013 Google Inc. All rights reserved. | 5 * Copyright (C) 2013 Google Inc. All rights reserved. |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 float k2() const; | 52 float k2() const; |
53 bool setK2(float); | 53 bool setK2(float); |
54 | 54 |
55 float k3() const; | 55 float k3() const; |
56 bool setK3(float); | 56 bool setK3(float); |
57 | 57 |
58 float k4() const; | 58 float k4() const; |
59 bool setK4(float); | 59 bool setK4(float); |
60 | 60 |
61 FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) overrid
e; | 61 FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const o
verride; |
62 | 62 |
63 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; | 63 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; |
64 | 64 |
65 protected: | 65 protected: |
66 bool mayProduceInvalidPreMultipliedPixels() override { return m_type == FECO
MPOSITE_OPERATOR_ARITHMETIC; } | 66 bool mayProduceInvalidPreMultipliedPixels() override { return m_type == FECO
MPOSITE_OPERATOR_ARITHMETIC; } |
67 | 67 |
68 private: | 68 private: |
69 FEComposite(Filter*, const CompositeOperationType&, float, float, float, flo
at); | 69 FEComposite(Filter*, const CompositeOperationType&, float, float, float, flo
at); |
70 | 70 |
71 sk_sp<SkImageFilter> createImageFilter() override; | 71 sk_sp<SkImageFilter> createImageFilter() override; |
72 sk_sp<SkImageFilter> createImageFilterWithoutValidation() override; | 72 sk_sp<SkImageFilter> createImageFilterWithoutValidation() override; |
73 sk_sp<SkImageFilter> createImageFilterInternal(bool requiresPMColorValidatio
n); | 73 sk_sp<SkImageFilter> createImageFilterInternal(bool requiresPMColorValidatio
n); |
74 | 74 |
75 CompositeOperationType m_type; | 75 CompositeOperationType m_type; |
76 float m_k1; | 76 float m_k1; |
77 float m_k2; | 77 float m_k2; |
78 float m_k3; | 78 float m_k3; |
79 float m_k4; | 79 float m_k4; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif // FEComposite_h | 84 #endif // FEComposite_h |
OLD | NEW |