darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 1 | /* |
zimmermann@webkit.org | 711245f | 2010-08-03 19:39:01 +0000 | [diff] [blame] | 2 | * 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 | */ |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 20 | |
| 21 | #include "config.h" |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 22 | #include "SVGFEFuncRElement.h" |
commit-queue@webkit.org | fa3f5a3 | 2014-09-08 20:51:39 +0000 | [diff] [blame] | 23 | |
rwlbuis@webkit.org | 2551812 | 2011-05-09 13:41:55 +0000 | [diff] [blame] | 24 | #include "SVGNames.h" |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 25 | |
rwlbuis | 7998312 | 2006-10-09 07:40:41 +0000 | [diff] [blame] | 26 | namespace WebCore { |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 27 | |
weinig@apple.com | 52e786e | 2013-09-15 18:06:06 +0000 | [diff] [blame] | 28 | inline SVGFEFuncRElement::SVGFEFuncRElement(const QualifiedName& tagName, Document& document) |
darin@apple.com | c8b8f87 | 2010-08-30 18:44:06 +0000 | [diff] [blame] | 29 | : SVGComponentTransferFunctionElement(tagName, document) |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 30 | { |
rwlbuis@webkit.org | 2551812 | 2011-05-09 13:41:55 +0000 | [diff] [blame] | 31 | ASSERT(hasTagName(SVGNames::feFuncRTag)); |
darin | b9481ed | 2006-03-20 02:57:59 +0000 | [diff] [blame] | 32 | } |
| 33 | |
weinig@apple.com | 1092357 | 2015-01-07 20:56:24 +0000 | [diff] [blame] | 34 | Ref<SVGFEFuncRElement> SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document) |
darin@apple.com | 3cbd5cb | 2010-08-30 06:51:56 +0000 | [diff] [blame] | 35 | { |
weinig@apple.com | 1092357 | 2015-01-07 20:56:24 +0000 | [diff] [blame] | 36 | return adoptRef(*new SVGFEFuncRElement(tagName, document)); |
darin@apple.com | 3cbd5cb | 2010-08-30 06:51:56 +0000 | [diff] [blame] | 37 | } |
| 38 | |
rwlbuis | 7998312 | 2006-10-09 07:40:41 +0000 | [diff] [blame] | 39 | } |