ludus::text::InkBounds¶
Ludus Wiki · API overview · Browse API
Struct
Baseline-relative ink bounds in physical pixels (unsnapped).
Left/Top may be negative (overhang / negative bearing). An empty layout has a zero rectangle.
Declared in modules/text/include/ludus/text/font_system.h
#include <ludus/text/font_system.h>
struct ludus::text::InkBounds final
Fields¶
Left¶
float32 ludus::text::InkBounds::Left = 0
Related types: float32
Declared in modules/text/include/ludus/text/font_system.h
Top¶
float32 ludus::text::InkBounds::Top = 0
Related types: float32
Declared in modules/text/include/ludus/text/font_system.h
Right¶
float32 ludus::text::InkBounds::Right = 0
Related types: float32
Declared in modules/text/include/ludus/text/font_system.h
Bottom¶
float32 ludus::text::InkBounds::Bottom = 0
Related types: float32
Declared in modules/text/include/ludus/text/font_system.h
Methods¶
IsEmpty¶
constexpr bool ludus::text::InkBounds::IsEmpty() const noexcept