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 public: | 37 public: |
38 SVGPathSegListBuilder(SVGPathElement*, PassRefPtrWillBeRawPtr<SVGPathSegList
>); | 38 SVGPathSegListBuilder(SVGPathElement*, PassRefPtrWillBeRawPtr<SVGPathSegList
>); |
39 | 39 |
40 DECLARE_VIRTUAL_TRACE(); | 40 DECLARE_VIRTUAL_TRACE(); |
41 | 41 |
42 private: | 42 private: |
43 virtual void incrementPathSegmentCount() override { } | 43 virtual void incrementPathSegmentCount() override { } |
44 virtual bool continueConsuming() override { return true; } | 44 virtual bool continueConsuming() override { return true; } |
45 | 45 |
46 // Used in UnalteredParsing/NormalizedParsing modes. | 46 // Used in UnalteredParsing/NormalizedParsing modes. |
47 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) over
ride; | 47 virtual void moveTo(const FloatPoint&, PathCoordinateMode) override; |
48 virtual void lineTo(const FloatPoint&, PathCoordinateMode) override; | 48 virtual void lineTo(const FloatPoint&, PathCoordinateMode) override; |
49 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatP
oint&, PathCoordinateMode) override; | 49 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatP
oint&, PathCoordinateMode) override; |
50 virtual void closePath() override; | 50 virtual void closePath() override; |
51 | 51 |
52 // Only used in UnalteredParsing mode. | 52 // Only used in UnalteredParsing mode. |
53 virtual void lineToHorizontal(float, PathCoordinateMode) override; | 53 virtual void lineToHorizontal(float, PathCoordinateMode) override; |
54 virtual void lineToVertical(float, PathCoordinateMode) override; | 54 virtual void lineToVertical(float, PathCoordinateMode) override; |
55 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCo
ordinateMode) override; | 55 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCo
ordinateMode) override; |
56 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoor
dinateMode) override; | 56 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoor
dinateMode) override; |
57 virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) o
verride; | 57 virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) o
verride; |
58 virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, c
onst FloatPoint&, PathCoordinateMode) override; | 58 virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, c
onst FloatPoint&, PathCoordinateMode) override; |
59 | 59 |
60 RawPtrWillBeMember<SVGPathElement> m_pathElement; | 60 RawPtrWillBeMember<SVGPathElement> m_pathElement; |
61 RefPtrWillBeMember<SVGPathSegList> m_pathSegList; | 61 RefPtrWillBeMember<SVGPathSegList> m_pathSegList; |
62 }; | 62 }; |
63 | 63 |
64 } // namespace blink | 64 } // namespace blink |
65 | 65 |
66 #endif // SVGPathSegListBuilder_h | 66 #endif // SVGPathSegListBuilder_h |
OLD | NEW |