5#include "flint/graphics/types/color.h"
6#include "flint/ui/ui-canvas.h"
7#include "flint/ui/ui-node.h"
24 explicit UILabel(std::string text);
Dynamic 2D batching engine processing shape vector geometry and hardware-accelerated text strings....
void measure(UIConstraints constraints) override
Computes text bounds using the system text engine.
void render(UICanvas &canvas) const override
Pushes current styling rules and geometries straight down to the active pipeline vertex drawing queue...
void arrange(const Rect< float > &rect) override
Pass 2 of the layout engine: Evaluates layout adjustments to pin final screen coordinate values to th...
A non-interactive text rendering widget.
UILabel()=default
Instantiates a text label with an initial string payload.
Abstract base class for all UI widgets, managing hierarchy tracking, layout passes,...
Generic axis-aligned rectangle defined by a position and size.
Represents the boundary budget passed down the node tree during layout allocation.