MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::BendTextAlongCurveParams Struct Reference

#include <MRAlignTextToMesh.h>

Public Attributes

SymbolMeshParams symbolMesh
 parameters of contours to mesh conversion
 
float pivotCurveTime = 0
 Position on the curve, where bounding box's pivot point is mapped.
 
Vector2f pivotBoxPoint {0.0f, 0.0f}
 
float fontHeight {1.0f}
 Font height, meters.
 
float surfaceOffset {1.0f}
 Text mesh inside and outside offset of curve's surface.
 
bool fontBasedSizeCalc { false }
 If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text.
 
bool periodicCurve = false
 if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x)
 
bool stretch = true
 stretch whole text along curve to fit in unit curve range
 

The documentation for this struct was generated from the following file: