OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 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 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, | 47 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, |
48 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth | 48 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth |
49 }; | 49 }; |
50 | 50 |
51 enum { | 51 enum { |
52 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown, | 52 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown, |
53 SVG_MARKER_ORIENT_AUTO = SVGMarkerOrientAuto, | 53 SVG_MARKER_ORIENT_AUTO = SVGMarkerOrientAuto, |
54 SVG_MARKER_ORIENT_ANGLE = SVGMarkerOrientAngle | 54 SVG_MARKER_ORIENT_ANGLE = SVGMarkerOrientAngle |
55 }; | 55 }; |
56 | 56 |
57 DEFINE_NODE_FACTORY(SVGMarkerElement); | 57 DECLARE_NODE_FACTORY(SVGMarkerElement); |
58 | 58 |
59 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co
nst; | 59 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co
nst; |
60 | 60 |
61 void setOrientToAuto(); | 61 void setOrientToAuto(); |
62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>); | 62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>); |
63 | 63 |
64 SVGAnimatedLength* refX() const { return m_refX.get(); } | 64 SVGAnimatedLength* refX() const { return m_refX.get(); } |
65 SVGAnimatedLength* refY() const { return m_refY.get(); } | 65 SVGAnimatedLength* refY() const { return m_refY.get(); } |
66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); } | 66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); } |
67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } | 67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } |
(...skipping 20 matching lines...) Expand all Loading... |
88 RefPtr<SVGAnimatedLength> m_refY; | 88 RefPtr<SVGAnimatedLength> m_refY; |
89 RefPtr<SVGAnimatedLength> m_markerWidth; | 89 RefPtr<SVGAnimatedLength> m_markerWidth; |
90 RefPtr<SVGAnimatedLength> m_markerHeight; | 90 RefPtr<SVGAnimatedLength> m_markerHeight; |
91 RefPtr<SVGAnimatedAngle> m_orientAngle; | 91 RefPtr<SVGAnimatedAngle> m_orientAngle; |
92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; | 92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; |
93 }; | 93 }; |
94 | 94 |
95 } | 95 } |
96 | 96 |
97 #endif | 97 #endif |
OLD | NEW |