Skip to main content

Module format

Module format 

Source
Expand description

Turning resolved ODF properties into what egui draws text with.

Structs§

Palette
The colours a document is drawn in where the document itself does not say.

Constants§

DEFAULT_SIZE
The font size a document that names none is drawn at.

Functions§

color32
An ODF colour as egui’s.
line_height
A length or proportion resolved to points, for a line height.
link_format
The same, for a run the document marks as a hyperlink.
size_of
The size in points a run is drawn at, for handing to whatever it contains.
text_format
What a resolved run of text is drawn with.