Struct TextLine

Struct Documentation

struct TextLine

One accepted line, retaining source membership and its range in the visual glyph array.

Public Members

::CE::Text::SourceRange source

Original logical source range of this line.

std::size_t first_glyph = {}

First glyph-array index.

std::size_t glyph_count = {}

Number of glyphs in this line.

float width = {}

Accepted visual width in local pixels.

float baseline = {}

Local Y-up baseline position.

bool right_to_left = {}

Resolved paragraph direction.

bool overflow = {}

An indivisible grapheme exceeds maximum_width.