9 #ifndef RAMSES_LAYOUTUTILS_H
10 #define RAMSES_LAYOUTUTILS_H
#define RAMSES_API
Definition: APIExport.h:35
RAMSES_API StringBoundingBox GetBoundingBoxForString(GlyphMetricsVector::const_iterator first, GlyphMetricsVector::const_iterator last)
Compute a bounding box for a string represented by a range of GlyphMetrics.
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
Helper data structure describing multiple glyphs metrics.
Definition: LayoutUtils.h:30
uint32_t height
Bounding box height.
Definition: LayoutUtils.h:38
int32_t combinedAdvance
Advance to next StringBoundingBox.
Definition: LayoutUtils.h:40
int32_t offsetY
Y axis offset of bounding box from origin.
Definition: LayoutUtils.h:34
uint32_t width
Bounding box width.
Definition: LayoutUtils.h:36
int32_t offsetX
X axis offset of bounding box from origin.
Definition: LayoutUtils.h:32