| 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 12 matching lines...) Expand all Loading... |
| 23 #include "core/svg/SVGLength.h" | 23 #include "core/svg/SVGLength.h" |
| 24 #include "core/svg/SVGPreserveAspectRatio.h" | 24 #include "core/svg/SVGPreserveAspectRatio.h" |
| 25 #include "platform/heap/Handle.h" | 25 #include "platform/heap/Handle.h" |
| 26 #include "platform/transforms/AffineTransform.h" | 26 #include "platform/transforms/AffineTransform.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class SVGPatternElement; | 30 class SVGPatternElement; |
| 31 | 31 |
| 32 class PatternAttributes final { | 32 class PatternAttributes final { |
| 33 DISALLOW_ALLOCATION(); | 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::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) |
| 43 , m_patternContentUnits(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE) | 43 , m_patternContentUnits(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE) |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 { | 191 { |
| 192 } | 192 } |
| 193 | 193 |
| 194 PatternAttributes m_attributes; | 194 PatternAttributes m_attributes; |
| 195 }; | 195 }; |
| 196 #endif | 196 #endif |
| 197 | 197 |
| 198 } // namespace blink | 198 } // namespace blink |
| 199 | 199 |
| 200 #endif // PatternAttributes_h | 200 #endif // PatternAttributes_h |
| OLD | NEW |