#include "third_party/blink/renderer/core/paint/text_combine_painter.h"
#include "third_party/blink/renderer/core/layout/layout_text_combine.h"
#include "third_party/blink/renderer/core/paint/paint_auto_dark_mode.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/core/paint/text_decoration_painter.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/fonts/text_fragment_paint_info.h"
#include "third_party/blink/renderer/platform/fonts/text_run_paint_info.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context_state_saver.h"
namespace blink {
TextCombinePainter::TextCombinePainter(
GraphicsContext& context,
const SvgContextPaints* svg_context_paints,
const gfx::Rect& visual_rect,
const ComputedStyle& style,
const LineRelativeOffset& text_origin)
: … { … }
TextCombinePainter::~TextCombinePainter() = default;
void TextCombinePainter::Paint(const PaintInfo& paint_info,
const PhysicalOffset& paint_offset,
const LayoutTextCombine& text_combine) { … }
bool TextCombinePainter::ShouldPaint(const LayoutTextCombine& text_combine) { … }
void TextCombinePainter::ClipDecorationsStripe(const TextFragmentPaintInfo&,
float upper,
float stripe_width,
float dilation) { … }
void TextCombinePainter::PaintEmphasisMark(const TextPaintStyle& text_style,
const Font& emphasis_mark_font) { … }
}