#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_buffer.h"
#include "third_party/blink/renderer/platform/fonts/character_range.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_inline_headers.h"
#include "third_party/blink/renderer/platform/fonts/simple_font_data.h"
#include "third_party/blink/renderer/platform/text/text_direction.h"
#include "third_party/blink/renderer/platform/text/text_run.h"
#include "ui/gfx/geometry/point_f.h"
namespace blink {
namespace {
unsigned CharactersInShapeResult(
const HeapVector<Member<const ShapeResult>, 64>& results) { … }
}
CharacterRange ShapeResultBuffer::GetCharacterRange(
const StringView& text,
TextDirection direction,
float total_width,
unsigned absolute_from,
unsigned absolute_to) const { … }
int ShapeResultBuffer::OffsetForPosition(
const TextRun& run,
float target_x,
IncludePartialGlyphsOption partial_glyphs,
BreakGlyphsOption break_glyphs) const { … }
HeapVector<ShapeResult::RunFontData> ShapeResultBuffer::GetRunFontData() const { … }
GlyphData ShapeResultBuffer::EmphasisMarkGlyphData(
const FontDescription& font_description) const { … }
}