| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2002, 2003 The Karbon Developers | 2 * Copyright (C) 2002, 2003 The Karbon Developers |
| 3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "core/svg/SVGTransform.h" | 26 #include "core/svg/SVGTransform.h" |
| 27 #include "platform/text/ParserUtilities.h" | 27 #include "platform/text/ParserUtilities.h" |
| 28 #include "wtf/HashSet.h" | 28 #include "wtf/HashSet.h" |
| 29 | 29 |
| 30 typedef pair<unsigned, unsigned> UnicodeRange; | 30 typedef pair<unsigned, unsigned> UnicodeRange; |
| 31 typedef Vector<UnicodeRange> UnicodeRanges; | 31 typedef Vector<UnicodeRange> UnicodeRanges; |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 class FloatPoint; | 35 class FloatPoint; |
| 36 class FloatRect; | |
| 37 class SVGPointList; | |
| 38 | 36 |
| 39 enum WhitespaceMode { | 37 enum WhitespaceMode { |
| 40 DisallowWhitespace = 0, | 38 DisallowWhitespace = 0, |
| 41 AllowLeadingWhitespace = 0x1, | 39 AllowLeadingWhitespace = 0x1, |
| 42 AllowTrailingWhitespace = 0x2, | 40 AllowTrailingWhitespace = 0x2, |
| 43 AllowLeadingAndTrailingWhitespace = AllowLeadingWhitespace | AllowTrailingWh
itespace | 41 AllowLeadingAndTrailingWhitespace = AllowLeadingWhitespace | AllowTrailingWh
itespace |
| 44 }; | 42 }; |
| 45 | 43 |
| 46 template <typename CharType> | 44 template <typename CharType> |
| 47 bool parseSVGNumber(CharType* ptr, size_t length, double& number); | 45 bool parseSVGNumber(CharType* ptr, size_t length, double& number); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri
ng>& stringList); | 83 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri
ng>& stringList); |
| 86 bool parseGlyphName(const String& input, HashSet<String>& values); | 84 bool parseGlyphName(const String& input, HashSet<String>& values); |
| 87 | 85 |
| 88 template<typename CharType> | 86 template<typename CharType> |
| 89 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra
nsformType&); | 87 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra
nsformType&); |
| 90 SVGTransformType parseTransformType(const String&); | 88 SVGTransformType parseTransformType(const String&); |
| 91 | 89 |
| 92 } // namespace WebCore | 90 } // namespace WebCore |
| 93 | 91 |
| 94 #endif // SVGParserUtilities_h | 92 #endif // SVGParserUtilities_h |
| OLD | NEW |