| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) overrid
e; |
| 62 | 62 |
| 63 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; | 63 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; |
| 64 | 64 |
| 65 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) overrid
e; | |
| 66 PassRefPtr<SkImageFilter> createImageFilterWithoutValidation(SkiaImageFilter
Builder*) override; | |
| 67 | |
| 68 protected: | 65 protected: |
| 69 bool mayProduceInvalidPreMultipliedPixels() override { return m_type == FECO
MPOSITE_OPERATOR_ARITHMETIC; } | 66 bool mayProduceInvalidPreMultipliedPixels() override { return m_type == FECO
MPOSITE_OPERATOR_ARITHMETIC; } |
| 70 | 67 |
| 71 private: | 68 private: |
| 72 FEComposite(Filter*, const CompositeOperationType&, float, float, float, flo
at); | 69 FEComposite(Filter*, const CompositeOperationType&, float, float, float, flo
at); |
| 73 | 70 |
| 74 PassRefPtr<SkImageFilter> createImageFilterInternal(SkiaImageFilterBuilder*,
bool requiresPMColorValidation); | 71 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) overrid
e; |
| 72 PassRefPtr<SkImageFilter> createImageFilterWithoutValidation(SkiaImageFilter
Builder&) override; |
| 73 PassRefPtr<SkImageFilter> createImageFilterInternal(SkiaImageFilterBuilder&,
bool requiresPMColorValidation); |
| 75 | 74 |
| 76 CompositeOperationType m_type; | 75 CompositeOperationType m_type; |
| 77 float m_k1; | 76 float m_k1; |
| 78 float m_k2; | 77 float m_k2; |
| 79 float m_k3; | 78 float m_k3; |
| 80 float m_k4; | 79 float m_k4; |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 } // namespace blink | 82 } // namespace blink |
| 84 | 83 |
| 85 #endif // FEComposite_h | 84 #endif // FEComposite_h |
| OLD | NEW |