blob: 38cbe338d971117d8952c0f4ae94d75d879b7d62 [file] [log] [blame]
darinb9481ed2006-03-20 02:57:59 +00001/*
zimmermann@webkit.org711245f2010-08-03 19:39:01 +00002 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
darinb9481ed2006-03-20 02:57:59 +000020
21#include "config.h"
darinb9481ed2006-03-20 02:57:59 +000022#include "SVGFEFuncRElement.h"
commit-queue@webkit.orgfa3f5a32014-09-08 20:51:39 +000023
rwlbuis@webkit.org25518122011-05-09 13:41:55 +000024#include "SVGNames.h"
darinb9481ed2006-03-20 02:57:59 +000025
rwlbuis79983122006-10-09 07:40:41 +000026namespace WebCore {
darinb9481ed2006-03-20 02:57:59 +000027
weinig@apple.com52e786e2013-09-15 18:06:06 +000028inline SVGFEFuncRElement::SVGFEFuncRElement(const QualifiedName& tagName, Document& document)
darin@apple.comc8b8f872010-08-30 18:44:06 +000029 : SVGComponentTransferFunctionElement(tagName, document)
darinb9481ed2006-03-20 02:57:59 +000030{
rwlbuis@webkit.org25518122011-05-09 13:41:55 +000031 ASSERT(hasTagName(SVGNames::feFuncRTag));
darinb9481ed2006-03-20 02:57:59 +000032}
33
weinig@apple.com10923572015-01-07 20:56:24 +000034Ref<SVGFEFuncRElement> SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document)
darin@apple.com3cbd5cb2010-08-30 06:51:56 +000035{
weinig@apple.com10923572015-01-07 20:56:24 +000036 return adoptRef(*new SVGFEFuncRElement(tagName, document));
darin@apple.com3cbd5cb2010-08-30 06:51:56 +000037}
38
rwlbuis79983122006-10-09 07:40:41 +000039}