| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/paint/TextPainter.h" | 5 #include "core/paint/TextPainter.h" |
| 6 | 6 |
| 7 #include "core/CSSPropertyNames.h" | 7 #include "core/CSSPropertyNames.h" |
| 8 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
| 9 #include "core/layout/LayoutObject.h" | 9 #include "core/layout/LayoutObject.h" |
| 10 #include "core/layout/LayoutTextCombine.h" | 10 #include "core/layout/LayoutTextCombine.h" |
| 11 #include "core/layout/api/LineLayoutAPIShim.h" | 11 #include "core/layout/api/LineLayoutAPIShim.h" |
| 12 #include "core/layout/api/LineLayoutItem.h" | 12 #include "core/layout/api/LineLayoutItem.h" |
| 13 #include "core/layout/line/InlineTextBox.h" | |
| 14 #include "core/paint/BoxPainter.h" | 13 #include "core/paint/BoxPainter.h" |
| 15 #include "core/paint/PaintInfo.h" | 14 #include "core/paint/PaintInfo.h" |
| 16 #include "core/style/ComputedStyle.h" | 15 #include "core/style/ComputedStyle.h" |
| 17 #include "core/style/ShadowList.h" | 16 #include "core/style/ShadowList.h" |
| 18 #include "platform/fonts/Font.h" | 17 #include "platform/fonts/Font.h" |
| 19 #include "platform/graphics/GraphicsContext.h" | 18 #include "platform/graphics/GraphicsContext.h" |
| 20 #include "platform/graphics/GraphicsContextStateSaver.h" | 19 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 21 #include "platform/text/TextRun.h" | 20 #include "platform/text/TextRun.h" |
| 22 #include "wtf/Assertions.h" | 21 #include "wtf/Assertions.h" |
| 23 #include "wtf/text/CharacterNames.h" | 22 #include "wtf/text/CharacterNames.h" |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 TextRunPaintInfo textRunPaintInfo(placeholderTextRun); | 268 TextRunPaintInfo textRunPaintInfo(placeholderTextRun); |
| 270 textRunPaintInfo.bounds = FloatRect(m_textBounds); | 269 textRunPaintInfo.bounds = FloatRect(m_textBounds); |
| 271 m_graphicsContext.concatCTM(rotation(m_textBounds, Clockwise)); | 270 m_graphicsContext.concatCTM(rotation(m_textBounds, Clockwise)); |
| 272 m_graphicsContext.drawEmphasisMarks(m_combinedText->originalFont(), | 271 m_graphicsContext.drawEmphasisMarks(m_combinedText->originalFont(), |
| 273 textRunPaintInfo, m_emphasisMark, | 272 textRunPaintInfo, m_emphasisMark, |
| 274 emphasisMarkTextOrigin); | 273 emphasisMarkTextOrigin); |
| 275 m_graphicsContext.concatCTM(rotation(m_textBounds, Counterclockwise)); | 274 m_graphicsContext.concatCTM(rotation(m_textBounds, Counterclockwise)); |
| 276 } | 275 } |
| 277 | 276 |
| 278 } // namespace blink | 277 } // namespace blink |
| OLD | NEW |