| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 class PatternAttributes final { | 32 class PatternAttributes final { |
| 33 DISALLOW_NEW(); | 33 DISALLOW_NEW(); |
| 34 public: | 34 public: |
| 35 PatternAttributes() | 35 PatternAttributes() |
| 36 : m_x(SVGLength::create(SVGLengthMode::Width)) | 36 : m_x(SVGLength::create(SVGLengthMode::Width)) |
| 37 , m_y(SVGLength::create(SVGLengthMode::Height)) | 37 , m_y(SVGLength::create(SVGLengthMode::Height)) |
| 38 , m_width(SVGLength::create(SVGLengthMode::Width)) | 38 , m_width(SVGLength::create(SVGLengthMode::Width)) |
| 39 , m_height(SVGLength::create(SVGLengthMode::Height)) | 39 , m_height(SVGLength::create(SVGLengthMode::Height)) |
| 40 , m_viewBox() | 40 , m_viewBox() |
| 41 , m_preserveAspectRatio(SVGPreserveAspectRatio::create()) | 41 , m_preserveAspectRatio(SVGPreserveAspectRatio::create()) |
| 42 , m_patternUnits(SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) | 42 , m_patternUnits(SVGUnitTypes::kSvgUnitTypeObjectboundingbox) |
| 43 , m_patternContentUnits(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE) | 43 , m_patternContentUnits(SVGUnitTypes::kSvgUnitTypeUserspaceonuse) |
| 44 , m_patternContentElement(nullptr) | 44 , m_patternContentElement(nullptr) |
| 45 , m_xSet(false) | 45 , m_xSet(false) |
| 46 , m_ySet(false) | 46 , m_ySet(false) |
| 47 , m_widthSet(false) | 47 , m_widthSet(false) |
| 48 , m_heightSet(false) | 48 , m_heightSet(false) |
| 49 , m_viewBoxSet(false) | 49 , m_viewBoxSet(false) |
| 50 , m_preserveAspectRatioSet(false) | 50 , m_preserveAspectRatioSet(false) |
| 51 , m_patternUnitsSet(false) | 51 , m_patternUnitsSet(false) |
| 52 , m_patternContentUnitsSet(false) | 52 , m_patternContentUnitsSet(false) |
| 53 , m_patternTransformSet(false) | 53 , m_patternTransformSet(false) |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 PatternAttributesWrapper() | 189 PatternAttributesWrapper() |
| 190 { | 190 { |
| 191 } | 191 } |
| 192 | 192 |
| 193 PatternAttributes m_attributes; | 193 PatternAttributes m_attributes; |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| 197 | 197 |
| 198 #endif // PatternAttributes_h | 198 #endif // PatternAttributes_h |
| OLD | NEW |