| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 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 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 SVGTransform(); | 49 SVGTransform(); |
| 50 SVGTransform(SVGTransformType, ConstructionMode = ConstructIdentityTransform
); | 50 SVGTransform(SVGTransformType, ConstructionMode = ConstructIdentityTransform
); |
| 51 explicit SVGTransform(const AffineTransform&); | 51 explicit SVGTransform(const AffineTransform&); |
| 52 | 52 |
| 53 SVGTransformType type() const { return m_type; } | 53 SVGTransformType type() const { return m_type; } |
| 54 | 54 |
| 55 SVGMatrix& svgMatrix() { return static_cast<SVGMatrix&>(m_matrix); } | 55 SVGMatrix& svgMatrix() { return static_cast<SVGMatrix&>(m_matrix); } |
| 56 AffineTransform matrix() const { return m_matrix; } | 56 AffineTransform matrix() const { return m_matrix; } |
| 57 void updateMatrix(); | 57 void updateSvgMatrix(); |
| 58 | 58 |
| 59 float angle() const { return m_angle; } | 59 float angle() const { return m_angle; } |
| 60 FloatPoint rotationCenter() const { return m_center; } | 60 FloatPoint rotationCenter() const { return m_center; } |
| 61 | 61 |
| 62 void setMatrix(const AffineTransform&); | 62 void setMatrix(const AffineTransform&); |
| 63 void setTranslate(float tx, float ty); | 63 void setTranslate(float tx, float ty); |
| 64 void setScale(float sx, float sy); | 64 void setScale(float sx, float sy); |
| 65 void setRotate(float angle, float cx, float cy); | 65 void setRotate(float angle, float cx, float cy); |
| 66 void setSkewX(float angle); | 66 void setSkewX(float angle); |
| 67 void setSkewY(float angle); | 67 void setSkewY(float angle); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 90 } | 90 } |
| 91 | 91 |
| 92 inline bool operator!=(const SVGTransform& a, const SVGTransform& b) | 92 inline bool operator!=(const SVGTransform& a, const SVGTransform& b) |
| 93 { | 93 { |
| 94 return !(a == b); | 94 return !(a == b); |
| 95 } | 95 } |
| 96 | 96 |
| 97 } // namespace WebCore | 97 } // namespace WebCore |
| 98 | 98 |
| 99 #endif | 99 #endif |
| OLD | NEW |