OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) | 6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) |
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 18 matching lines...) Expand all Loading... |
29 #include "core/fetch/ImageResource.h" | 29 #include "core/fetch/ImageResource.h" |
30 #include "core/rendering/GraphicsContextAnnotator.h" | 30 #include "core/rendering/GraphicsContextAnnotator.h" |
31 #include "core/rendering/RenderLayer.h" | 31 #include "core/rendering/RenderLayer.h" |
32 #include "core/rendering/RenderListItem.h" | 32 #include "core/rendering/RenderListItem.h" |
33 #include "core/rendering/RenderView.h" | 33 #include "core/rendering/RenderView.h" |
34 #include "platform/fonts/Font.h" | 34 #include "platform/fonts/Font.h" |
35 #include "platform/graphics/GraphicsContextStateSaver.h" | 35 #include "platform/graphics/GraphicsContextStateSaver.h" |
36 #include "wtf/text/StringBuilder.h" | 36 #include "wtf/text/StringBuilder.h" |
37 #include "wtf/unicode/CharacterNames.h" | 37 #include "wtf/unicode/CharacterNames.h" |
38 | 38 |
39 using namespace std; | |
40 using namespace WTF; | 39 using namespace WTF; |
41 using namespace Unicode; | 40 using namespace Unicode; |
42 | 41 |
43 namespace WebCore { | 42 namespace WebCore { |
44 | 43 |
45 const int cMarkerPadding = 7; | 44 const int cMarkerPadding = 7; |
46 | 45 |
47 enum SequenceType { NumericSequence, AlphabeticSequence }; | 46 enum SequenceType { NumericSequence, AlphabeticSequence }; |
48 | 47 |
49 static String toRoman(int number, bool upper) | 48 static String toRoman(int number, bool upper) |
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1839 | 1838 |
1840 if (clipToVisibleContent) | 1839 if (clipToVisibleContent) |
1841 mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect); | 1840 mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect); |
1842 else | 1841 else |
1843 rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer)
.enclosingBoundingBox(); | 1842 rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer)
.enclosingBoundingBox(); |
1844 | 1843 |
1845 return rect; | 1844 return rect; |
1846 } | 1845 } |
1847 | 1846 |
1848 } // namespace WebCore | 1847 } // namespace WebCore |
OLD | NEW |