persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
TextLayout.hpp File Reference

Provides text layout utilities for measuring and positioning text. More...

Include dependency graph for TextLayout.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TextLayout

Functions

void TextLayout::applyStyle (Font &font, unsigned char flags, bool &bold, bool &italic, bool &underline)
int TextLayout::wordWidth (const Text &text, std::size_t position)
void TextLayout::newLine (Text &text)
bool TextLayout::pageFull (Text &text)
bool TextLayout::shouldWrapWord (const Text &text)
bool TextLayout::prepareGlyph (Text &text, const Glyph &glyph)

Detailed Description

Provides text layout utilities for measuring and positioning text.

Contains functions for applying text styles, measuring word widths, handling line breaks, and determining when pages are full or words should wrap.

Author
Oles Gedz (olesgedz)

Definition in file TextLayout.hpp.