OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
5 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 5 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
6 * Copyright (C) 2008 Rob Buis <buis@kde.org> | 6 * Copyright (C) 2008 Rob Buis <buis@kde.org> |
7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
8 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. | 8 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. |
9 * Copyright (C) 2012 Google Inc. | 9 * Copyright (C) 2012 Google Inc. |
10 * | 10 * |
(...skipping 10 matching lines...) Expand all Loading... |
21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 | 28 |
29 #include "core/rendering/svg/RenderSVGText.h" | 29 #include "core/rendering/svg/RenderSVGText.h" |
30 | 30 |
31 #include "core/platform/FloatConversion.h" | |
32 #include "core/platform/graphics/FloatQuad.h" | |
33 #include "core/platform/graphics/FontCache.h" | 31 #include "core/platform/graphics/FontCache.h" |
34 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 32 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
35 #include "core/platform/graphics/SimpleFontData.h" | 33 #include "core/platform/graphics/SimpleFontData.h" |
36 #include "core/platform/graphics/transforms/TransformState.h" | 34 #include "core/platform/graphics/transforms/TransformState.h" |
37 #include "core/rendering/HitTestRequest.h" | 35 #include "core/rendering/HitTestRequest.h" |
38 #include "core/rendering/HitTestResult.h" | 36 #include "core/rendering/HitTestResult.h" |
39 #include "core/rendering/LayoutRepainter.h" | 37 #include "core/rendering/LayoutRepainter.h" |
40 #include "core/rendering/PointerEventsHitRules.h" | 38 #include "core/rendering/PointerEventsHitRules.h" |
41 #include "core/rendering/svg/RenderSVGInlineText.h" | 39 #include "core/rendering/svg/RenderSVGInlineText.h" |
42 #include "core/rendering/svg/RenderSVGResource.h" | 40 #include "core/rendering/svg/RenderSVGResource.h" |
43 #include "core/rendering/svg/RenderSVGRoot.h" | 41 #include "core/rendering/svg/RenderSVGRoot.h" |
44 #include "core/rendering/svg/SVGRenderSupport.h" | 42 #include "core/rendering/svg/SVGRenderSupport.h" |
45 #include "core/rendering/svg/SVGResourcesCache.h" | 43 #include "core/rendering/svg/SVGResourcesCache.h" |
46 #include "core/rendering/svg/SVGRootInlineBox.h" | 44 #include "core/rendering/svg/SVGRootInlineBox.h" |
47 #include "core/rendering/svg/SVGTextLayoutAttributesBuilder.h" | 45 #include "core/rendering/svg/SVGTextLayoutAttributesBuilder.h" |
48 #include "core/rendering/svg/SVGTextRunRenderingContext.h" | 46 #include "core/rendering/svg/SVGTextRunRenderingContext.h" |
49 #include "core/svg/SVGLengthList.h" | 47 #include "core/svg/SVGLengthList.h" |
50 #include "core/svg/SVGTextElement.h" | 48 #include "core/svg/SVGTextElement.h" |
51 #include "core/svg/SVGTransformList.h" | 49 #include "core/svg/SVGTransformList.h" |
52 #include "core/svg/SVGURIReference.h" | 50 #include "core/svg/SVGURIReference.h" |
| 51 #include "platform/FloatConversion.h" |
| 52 #include "platform/geometry/FloatQuad.h" |
53 | 53 |
54 namespace WebCore { | 54 namespace WebCore { |
55 | 55 |
56 RenderSVGText::RenderSVGText(SVGTextElement* node) | 56 RenderSVGText::RenderSVGText(SVGTextElement* node) |
57 : RenderSVGBlock(node) | 57 : RenderSVGBlock(node) |
58 , m_needsReordering(false) | 58 , m_needsReordering(false) |
59 , m_needsPositioningValuesUpdate(false) | 59 , m_needsPositioningValuesUpdate(false) |
60 , m_needsTransformUpdate(true) | 60 , m_needsTransformUpdate(true) |
61 , m_needsTextMetricsUpdate(false) | 61 , m_needsTextMetricsUpdate(false) |
62 { | 62 { |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 return 0; | 550 return 0; |
551 } | 551 } |
552 | 552 |
553 // Fix for <rdar://problem/8048875>. We should not render :first-letter CSS Styl
e | 553 // Fix for <rdar://problem/8048875>. We should not render :first-letter CSS Styl
e |
554 // in a SVG text element context. | 554 // in a SVG text element context. |
555 void RenderSVGText::updateFirstLetter() | 555 void RenderSVGText::updateFirstLetter() |
556 { | 556 { |
557 } | 557 } |
558 | 558 |
559 } | 559 } |
OLD | NEW |