| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2002, 2003 The Karbon Developers | 2 * Copyright (C) 2002, 2003 The Karbon Developers |
| 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> |
| 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "core/svg/SVGPathSegCurvetoQuadraticAbs.h" | 37 #include "core/svg/SVGPathSegCurvetoQuadraticAbs.h" |
| 38 #include "core/svg/SVGPathSegCurvetoQuadraticRel.h" | 38 #include "core/svg/SVGPathSegCurvetoQuadraticRel.h" |
| 39 #include "core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h" | 39 #include "core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h" |
| 40 #include "core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h" | 40 #include "core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h" |
| 41 #include "core/svg/SVGPathSegLinetoAbs.h" | 41 #include "core/svg/SVGPathSegLinetoAbs.h" |
| 42 #include "core/svg/SVGPathSegLinetoHorizontalAbs.h" | 42 #include "core/svg/SVGPathSegLinetoHorizontalAbs.h" |
| 43 #include "core/svg/SVGPathSegLinetoHorizontalRel.h" | 43 #include "core/svg/SVGPathSegLinetoHorizontalRel.h" |
| 44 #include "core/svg/SVGPathSegLinetoRel.h" | 44 #include "core/svg/SVGPathSegLinetoRel.h" |
| 45 #include "core/svg/SVGPathSegLinetoVerticalAbs.h" | 45 #include "core/svg/SVGPathSegLinetoVerticalAbs.h" |
| 46 #include "core/svg/SVGPathSegLinetoVerticalRel.h" | 46 #include "core/svg/SVGPathSegLinetoVerticalRel.h" |
| 47 #include "core/svg/SVGPathSegList.h" | |
| 48 #include "core/svg/SVGPathSegMovetoAbs.h" | 47 #include "core/svg/SVGPathSegMovetoAbs.h" |
| 49 #include "core/svg/SVGPathSegMovetoRel.h" | 48 #include "core/svg/SVGPathSegMovetoRel.h" |
| 50 | 49 |
| 51 namespace WebCore { | 50 namespace WebCore { |
| 52 | 51 |
| 53 SVGPathSegListBuilder::SVGPathSegListBuilder() | 52 SVGPathSegListBuilder::SVGPathSegListBuilder() |
| 54 : m_pathElement(0) | 53 : m_pathElement(0) |
| 55 , m_pathSegList(0) | 54 , m_pathSegList(0) |
| 56 , m_pathSegRole(PathSegUndefinedRole) | 55 , m_pathSegRole(PathSegUndefinedRole) |
| 57 { | 56 { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 } | 147 } |
| 149 | 148 |
| 150 void SVGPathSegListBuilder::closePath() | 149 void SVGPathSegListBuilder::closePath() |
| 151 { | 150 { |
| 152 ASSERT(m_pathElement); | 151 ASSERT(m_pathElement); |
| 153 ASSERT(m_pathSegList); | 152 ASSERT(m_pathSegList); |
| 154 m_pathSegList->append(m_pathElement->createSVGPathSegClosePath(m_pathSegRole
)); | 153 m_pathSegList->append(m_pathElement->createSVGPathSegClosePath(m_pathSegRole
)); |
| 155 } | 154 } |
| 156 | 155 |
| 157 } | 156 } |
| OLD | NEW |