zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 1 | /* |
zimmermann@webkit.org | 711245f | 2010-08-03 19:39:01 +0000 | [diff] [blame] | 2 | * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 | * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 | * Copyright (C) 2008 Rob Buis <buis@kde.org> |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Library General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Library General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Library General Public License |
| 17 | * along with this library; see the file COPYING.LIB. If not, write to |
| 18 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 | * Boston, MA 02110-1301, USA. |
| 20 | */ |
zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 21 | |
| 22 | #include "config.h" |
| 23 | |
| 24 | #if ENABLE(SVG_FONTS) |
| 25 | #include "SVGGlyphElement.h" |
| 26 | |
zimmermann@webkit.org | c9b7d11 | 2008-01-07 22:56:54 +0000 | [diff] [blame] | 27 | #include "SVGFontElement.h" |
| 28 | #include "SVGFontFaceElement.h" |
zimmermann@webkit.org | 9dab458 | 2007-12-29 13:50:15 +0000 | [diff] [blame] | 29 | #include "SVGNames.h" |
zimmermann@webkit.org | ad0b6ca | 2012-04-28 09:29:32 +0000 | [diff] [blame] | 30 | #include "SVGPathUtilities.h" |
zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 31 | |
| 32 | namespace WebCore { |
| 33 | |
weinig@apple.com | 52e786e | 2013-09-15 18:06:06 +0000 | [diff] [blame] | 34 | inline SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document& document) |
ch.dumez@sisa.samsung.com | 7dd31bf | 2013-08-22 21:58:09 +0000 | [diff] [blame] | 35 | : SVGElement(tagName, document) |
zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 36 | { |
zimmermann@webkit.org | 8a7e7ff | 2011-05-24 15:27:36 +0000 | [diff] [blame] | 37 | ASSERT(hasTagName(SVGNames::glyphTag)); |
zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 38 | } |
| 39 | |
weinig@apple.com | 1092357 | 2015-01-07 20:56:24 +0000 | [diff] [blame] | 40 | Ref<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName, Document& document) |
darin@apple.com | 3cbd5cb | 2010-08-30 06:51:56 +0000 | [diff] [blame] | 41 | { |
weinig@apple.com | 1092357 | 2015-01-07 20:56:24 +0000 | [diff] [blame] | 42 | return adoptRef(*new SVGGlyphElement(tagName, document)); |
darin@apple.com | 3cbd5cb | 2010-08-30 06:51:56 +0000 | [diff] [blame] | 43 | } |
| 44 | |
zimmermann@webkit.org | ce57f04 | 2007-12-29 02:41:53 +0000 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | #endif // ENABLE(SVG_FONTS) |