OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010, 2012. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010, 2012. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 29 matching lines...) Expand all Loading... |
40 // SVGPathSegList/String -> SVGPathByteStream | 40 // SVGPathSegList/String -> SVGPathByteStream |
41 bool appendSVGPathByteStreamFromSVGPathSeg(PassRefPtrWillBeRawPtr<SVGPathSeg>, S
VGPathByteStream&, PathParsingMode); | 41 bool appendSVGPathByteStreamFromSVGPathSeg(PassRefPtrWillBeRawPtr<SVGPathSeg>, S
VGPathByteStream&, PathParsingMode); |
42 bool buildSVGPathByteStreamFromString(const String&, SVGPathByteStream&, PathPar
singMode); | 42 bool buildSVGPathByteStreamFromString(const String&, SVGPathByteStream&, PathPar
singMode); |
43 | 43 |
44 // SVGPathByteStream/SVGPathSegList -> String | 44 // SVGPathByteStream/SVGPathSegList -> String |
45 bool buildStringFromByteStream(const SVGPathByteStream&, String&, PathParsingMod
e); | 45 bool buildStringFromByteStream(const SVGPathByteStream&, String&, PathParsingMod
e); |
46 bool buildStringFromSVGPathSegList(PassRefPtrWillBeRawPtr<SVGPathSegList>, Strin
g&, PathParsingMode); | 46 bool buildStringFromSVGPathSegList(PassRefPtrWillBeRawPtr<SVGPathSegList>, Strin
g&, PathParsingMode); |
47 | 47 |
48 bool addToSVGPathByteStream(SVGPathByteStream&, const SVGPathByteStream&, unsign
ed repeatCount = 1); | 48 bool addToSVGPathByteStream(SVGPathByteStream&, const SVGPathByteStream&, unsign
ed repeatCount = 1); |
49 | 49 |
50 bool getSVGPathSegAtLengthFromSVGPathByteStream(const SVGPathByteStream&, float
length, unsigned& pathSeg); | 50 unsigned getSVGPathSegAtLengthFromSVGPathByteStream(const SVGPathByteStream&, fl
oat length); |
51 bool getTotalLengthOfSVGPathByteStream(const SVGPathByteStream&, float& totalLen
gth); | 51 float getTotalLengthOfSVGPathByteStream(const SVGPathByteStream&); |
52 bool getPointAtLengthOfSVGPathByteStream(const SVGPathByteStream&, float length,
FloatPoint&); | 52 FloatPoint getPointAtLengthOfSVGPathByteStream(const SVGPathByteStream&, float l
ength); |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
55 | 55 |
56 #endif // SVGPathUtilities_h | 56 #endif // SVGPathUtilities_h |
OLD | NEW |