| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 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 | 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, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef SVGPathTraversalStateBuilder_h | 21 #ifndef SVGPathTraversalStateBuilder_h |
| 22 #define SVGPathTraversalStateBuilder_h | 22 #define SVGPathTraversalStateBuilder_h |
| 23 | 23 |
| 24 #if ENABLE(SVG) | |
| 25 #include "core/platform/graphics/FloatPoint.h" | 24 #include "core/platform/graphics/FloatPoint.h" |
| 26 #include "core/platform/graphics/PathTraversalState.h" | 25 #include "core/platform/graphics/PathTraversalState.h" |
| 27 #include "core/svg/SVGPathConsumer.h" | 26 #include "core/svg/SVGPathConsumer.h" |
| 28 | 27 |
| 29 namespace WebCore { | 28 namespace WebCore { |
| 30 | 29 |
| 31 class SVGPathTraversalStateBuilder : public SVGPathConsumer { | 30 class SVGPathTraversalStateBuilder : public SVGPathConsumer { |
| 32 public: | 31 public: |
| 33 SVGPathTraversalStateBuilder(); | 32 SVGPathTraversalStateBuilder(); |
| 34 | 33 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 56 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCo
ordinateMode) { ASSERT_NOT_REACHED(); } | 55 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCo
ordinateMode) { ASSERT_NOT_REACHED(); } |
| 57 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoor
dinateMode) { ASSERT_NOT_REACHED(); } | 56 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoor
dinateMode) { ASSERT_NOT_REACHED(); } |
| 58 virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) {
ASSERT_NOT_REACHED(); } | 57 virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) {
ASSERT_NOT_REACHED(); } |
| 59 virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathC
oordinateMode) { ASSERT_NOT_REACHED(); } | 58 virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathC
oordinateMode) { ASSERT_NOT_REACHED(); } |
| 60 | 59 |
| 61 PathTraversalState* m_traversalState; | 60 PathTraversalState* m_traversalState; |
| 62 }; | 61 }; |
| 63 | 62 |
| 64 } // namespace WebCore | 63 } // namespace WebCore |
| 65 | 64 |
| 66 #endif // ENABLE(SVG) | |
| 67 #endif // SVGPathTraversalStateBuilder_h | 65 #endif // SVGPathTraversalStateBuilder_h |
| OLD | NEW |