OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #define SVGFontFaceElement_h | 23 #define SVGFontFaceElement_h |
24 | 24 |
25 #if ENABLE(SVG_FONTS) | 25 #if ENABLE(SVG_FONTS) |
26 #include "SVGElement.h" | 26 #include "SVGElement.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class SVGFontElement; | 30 class SVGFontElement; |
31 class StyleRuleFontFace; | 31 class StyleRuleFontFace; |
32 | 32 |
33 class SVGFontFaceElement : public SVGElement { | 33 class SVGFontFaceElement FINAL : public SVGElement { |
34 public: | 34 public: |
35 static PassRefPtr<SVGFontFaceElement> create(const QualifiedName&, Document*
); | 35 static PassRefPtr<SVGFontFaceElement> create(const QualifiedName&, Document*
); |
36 | 36 |
37 unsigned unitsPerEm() const; | 37 unsigned unitsPerEm() const; |
38 int xHeight() const; | 38 int xHeight() const; |
39 float horizontalOriginX() const; | 39 float horizontalOriginX() const; |
40 float horizontalOriginY() const; | 40 float horizontalOriginY() const; |
41 float horizontalAdvanceX() const; | 41 float horizontalAdvanceX() const; |
42 float verticalOriginX() const; | 42 float verticalOriginX() const; |
43 float verticalOriginY() const; | 43 float verticalOriginY() const; |
(...skipping 19 matching lines...) Expand all Loading... |
63 RefPtr<StyleRuleFontFace> m_fontFaceRule; | 63 RefPtr<StyleRuleFontFace> m_fontFaceRule; |
64 SVGFontElement* m_fontElement; | 64 SVGFontElement* m_fontElement; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace WebCore | 67 } // namespace WebCore |
68 | 68 |
69 #endif // ENABLE(SVG_FONTS) | 69 #endif // ENABLE(SVG_FONTS) |
70 #endif | 70 #endif |
71 | 71 |
72 // vim:ts=4:noet | 72 // vim:ts=4:noet |
OLD | NEW |