OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
| 3 * <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 * | 7 * |
7 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
11 * | 12 * |
12 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 121 } |
121 | 122 |
122 FloatPoint SVGPathQuery::getPointAtLength(float length) const { | 123 FloatPoint SVGPathQuery::getPointAtLength(float length) const { |
123 SVGPathTraversalState traversalState( | 124 SVGPathTraversalState traversalState( |
124 PathTraversalState::TraversalPointAtLength, length); | 125 PathTraversalState::TraversalPointAtLength, length); |
125 executeQuery(m_pathByteStream, traversalState); | 126 executeQuery(m_pathByteStream, traversalState); |
126 return traversalState.computedPoint(); | 127 return traversalState.computedPoint(); |
127 } | 128 } |
128 | 129 |
129 } // namespace blink | 130 } // namespace blink |
OLD | NEW |