blob: 7f66952cadff6a1610b700906e04c276dbabc459 [file] [log] [blame]
zimmermann@webkit.orgce57f042007-12-29 02:41:53 +00001/*
zimmermann@webkit.org711245f2010-08-03 19:39:01 +00002 * 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.orgce57f042007-12-29 02:41:53 +000021
22#include "config.h"
23
24#if ENABLE(SVG_FONTS)
25#include "SVGGlyphElement.h"
26
zimmermann@webkit.orgc9b7d112008-01-07 22:56:54 +000027#include "SVGFontElement.h"
28#include "SVGFontFaceElement.h"
zimmermann@webkit.org9dab4582007-12-29 13:50:15 +000029#include "SVGNames.h"
zimmermann@webkit.orgad0b6ca2012-04-28 09:29:32 +000030#include "SVGPathUtilities.h"
zimmermann@webkit.orgce57f042007-12-29 02:41:53 +000031
32namespace WebCore {
33
weinig@apple.com52e786e2013-09-15 18:06:06 +000034inline SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document& document)
ch.dumez@sisa.samsung.com7dd31bf2013-08-22 21:58:09 +000035 : SVGElement(tagName, document)
zimmermann@webkit.orgce57f042007-12-29 02:41:53 +000036{
zimmermann@webkit.org8a7e7ff2011-05-24 15:27:36 +000037 ASSERT(hasTagName(SVGNames::glyphTag));
zimmermann@webkit.orgce57f042007-12-29 02:41:53 +000038}
39
weinig@apple.com10923572015-01-07 20:56:24 +000040Ref<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName, Document& document)
darin@apple.com3cbd5cb2010-08-30 06:51:56 +000041{
weinig@apple.com10923572015-01-07 20:56:24 +000042 return adoptRef(*new SVGGlyphElement(tagName, document));
darin@apple.com3cbd5cb2010-08-30 06:51:56 +000043}
44
zimmermann@webkit.orgce57f042007-12-29 02:41:53 +000045}
46
47#endif // ENABLE(SVG_FONTS)