OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 */ | 18 */ |
19 | 19 |
20 #ifndef SVGTextLayoutAttributes_h | 20 #ifndef SVGTextLayoutAttributes_h |
21 #define SVGTextLayoutAttributes_h | 21 #define SVGTextLayoutAttributes_h |
22 | 22 |
23 #include "core/layout/svg/SVGTextMetrics.h" | 23 #include "core/layout/svg/SVGTextMetrics.h" |
24 #include "wtf/HashMap.h" | 24 #include "wtf/HashMap.h" |
25 #include "wtf/Noncopyable.h" | 25 #include "wtf/Noncopyable.h" |
26 #include "wtf/Vector.h" | 26 #include "wtf/Vector.h" |
27 #include "wtf/text/WTFString.h" | |
28 | 27 |
29 namespace blink { | 28 namespace blink { |
30 | 29 |
31 class LayoutSVGInlineText; | 30 class LayoutSVGInlineText; |
32 | 31 |
33 struct SVGCharacterData { | 32 struct SVGCharacterData { |
34 SVGCharacterData(); | 33 SVGCharacterData(); |
35 | 34 |
36 float x; | 35 float x; |
37 float y; | 36 float y; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 , y(SVGTextLayoutAttributes::emptyValue()) | 68 , y(SVGTextLayoutAttributes::emptyValue()) |
70 , dx(SVGTextLayoutAttributes::emptyValue()) | 69 , dx(SVGTextLayoutAttributes::emptyValue()) |
71 , dy(SVGTextLayoutAttributes::emptyValue()) | 70 , dy(SVGTextLayoutAttributes::emptyValue()) |
72 , rotate(SVGTextLayoutAttributes::emptyValue()) | 71 , rotate(SVGTextLayoutAttributes::emptyValue()) |
73 { | 72 { |
74 } | 73 } |
75 | 74 |
76 } // namespace blink | 75 } // namespace blink |
77 | 76 |
78 #endif | 77 #endif |
OLD | NEW |