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}
 
float surfaceOffset {1.0f}
 
bool fontBasedSizeCalc { false }
 
bool stretch = true
 stretch whole text along curve to fit in unit curve range
 

Member Data Documentation

◆ fontBasedSizeCalc

bool MR::BendTextAlongCurveParams::fontBasedSizeCalc { false }

◆ fontHeight

float MR::BendTextAlongCurveParams::fontHeight {1.0f}

◆ pivotBoxPoint

Vector2f MR::BendTextAlongCurveParams::pivotBoxPoint {0.0f, 0.0f}

Position of the curve(pivotCurveTime) in the test' bounding box: (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotCurveTime

float MR::BendTextAlongCurveParams::pivotCurveTime = 0

Position on the curve, where bounding box's pivot point is mapped.

◆ stretch

bool MR::BendTextAlongCurveParams::stretch = true

stretch whole text along curve to fit in unit curve range

◆ surfaceOffset

float MR::BendTextAlongCurveParams::surfaceOffset {1.0f}

◆ symbolMesh

SymbolMeshParams MR::BendTextAlongCurveParams::symbolMesh

parameters of contours to mesh conversion


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