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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 struct PathSegmentData; | 33 struct PathSegmentData; |
34 | 34 |
35 class CORE_EXPORT SVGPathConsumer { | 35 class CORE_EXPORT SVGPathConsumer { |
36 WTF_MAKE_NONCOPYABLE(SVGPathConsumer); | 36 WTF_MAKE_NONCOPYABLE(SVGPathConsumer); |
37 STACK_ALLOCATED(); | 37 STACK_ALLOCATED(); |
38 public: | 38 public: |
39 SVGPathConsumer() { } | 39 SVGPathConsumer() { } |
40 virtual ~SVGPathConsumer() { } | 40 virtual ~SVGPathConsumer() { } |
41 | 41 |
42 virtual void incrementPathSegmentCount() = 0; | |
43 virtual bool continueConsuming() = 0; | |
44 | |
45 virtual void emitSegment(const PathSegmentData&) = 0; | 42 virtual void emitSegment(const PathSegmentData&) = 0; |
46 }; | 43 }; |
47 | 44 |
48 } // namespace blink | 45 } // namespace blink |
49 | 46 |
50 #endif // SVGPathConsumer_h | 47 #endif // SVGPathConsumer_h |
OLD | NEW |