Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::BendTextAlongCurveParams > |
| static auto | construct_from (symbolMesh:&meshlib::SymbolMeshParams, pivotCurveTime:f32, pivotBoxPoint:meshlib::Vector2f, fontHeight:f32, surfaceOffset:f32, fontBasedSizeCalc:bool, periodicCurve:bool, stretch:bool) -> meshlib::Owned< meshlib::BendTextAlongCurveParams > |
| static auto | construct_from_another (_other:&meshlib::BendTextAlongCurveParams) -> meshlib::Owned< meshlib::BendTextAlongCurveParams > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::BendTextAlongCurveParams.
Generated from class MR::BendTextAlongCurveParams. Heap-allocated instances are held in Owned<BendTextAlongCurveParams>.
| auto meshlib::BendTextAlongCurveParams::assign_from_another | ( | _other:&meshlib::BendTextAlongCurveParams | ) | -> &mut meshlib::BendTextAlongCurveParams |
Generated from method MR::BendTextAlongCurveParams::operator=.
Calls MR_BendTextAlongCurveParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::BendTextAlongCurveParams elementwise.
Calls MR_BendTextAlongCurveParams_ConstructFrom(). The reference to the parameter symbolMesh might be preserved in the constructed object. The reference to the parameter pivotBoxPoint might be preserved in the constructed object.
|
static |
Generated from constructor MR::BendTextAlongCurveParams::BendTextAlongCurveParams.
Calls MR_BendTextAlongCurveParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::BendTextAlongCurveParams::font_based_size_calc | ( | ) | const -> &bool |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc.
Calls MR_BendTextAlongCurveParams_Get_fontBasedSizeCalc(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::font_based_size_calc_mut | ( | ) | -> &mut bool |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc.
Calls MR_BendTextAlongCurveParams_GetMutable_fontBasedSizeCalc(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::font_height | ( | ) | const -> &f32 |
Font height, meters Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontHeight.
Calls MR_BendTextAlongCurveParams_Get_fontHeight(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::font_height_mut | ( | ) | -> &mut f32 |
Font height, meters Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named fontHeight.
Calls MR_BendTextAlongCurveParams_GetMutable_fontHeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_BendTextAlongCurveParams_DefaultConstruct().
| auto meshlib::BendTextAlongCurveParams::periodic_curve | ( | ) | const -> &bool |
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x) Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named periodicCurve.
Calls MR_BendTextAlongCurveParams_Get_periodicCurve(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::periodic_curve_mut | ( | ) | -> &mut bool |
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x) Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named periodicCurve.
Calls MR_BendTextAlongCurveParams_GetMutable_periodicCurve(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::pivot_box_point | ( | ) | const -> &meshlib::Vector2f |
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 Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named pivotBoxPoint.
Calls MR_BendTextAlongCurveParams_Get_pivotBoxPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::pivot_box_point_mut | ( | ) | -> &mut meshlib::Vector2f |
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 Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named pivotBoxPoint.
Calls MR_BendTextAlongCurveParams_GetMutable_pivotBoxPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::pivot_curve_time | ( | ) | const -> &f32 |
Position on the curve, where bounding box's pivot point is mapped Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime.
Calls MR_BendTextAlongCurveParams_Get_pivotCurveTime(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::pivot_curve_time_mut | ( | ) | -> &mut f32 |
Position on the curve, where bounding box's pivot point is mapped Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime.
Calls MR_BendTextAlongCurveParams_GetMutable_pivotCurveTime(). The reference to this object might be preserved as the return value.
| void meshlib::BendTextAlongCurveParams::set_font_based_size_calc | ( | value:bool | ) |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Modifies a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc.
Calls MR_BendTextAlongCurveParams_Set_fontBasedSizeCalc().
| void meshlib::BendTextAlongCurveParams::set_font_height | ( | value:f32 | ) |
Font height, meters Modifies a member variable of class MR::BendTextAlongCurveParams named fontHeight.
Calls MR_BendTextAlongCurveParams_Set_fontHeight().
| void meshlib::BendTextAlongCurveParams::set_periodic_curve | ( | value:bool | ) |
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x) Modifies a member variable of class MR::BendTextAlongCurveParams named periodicCurve.
Calls MR_BendTextAlongCurveParams_Set_periodicCurve().
| void meshlib::BendTextAlongCurveParams::set_pivot_box_point | ( | value:meshlib::Vector2f | ) |
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 Modifies a member variable of class MR::BendTextAlongCurveParams named pivotBoxPoint.
Calls MR_BendTextAlongCurveParams_Set_pivotBoxPoint(). The reference to the parameter value might be preserved in this object in element pivotBoxPoint.
| void meshlib::BendTextAlongCurveParams::set_pivot_curve_time | ( | value:f32 | ) |
Position on the curve, where bounding box's pivot point is mapped Modifies a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime.
Calls MR_BendTextAlongCurveParams_Set_pivotCurveTime().
| void meshlib::BendTextAlongCurveParams::set_stretch | ( | value:bool | ) |
stretch whole text along curve to fit in unit curve range Modifies a member variable of class MR::BendTextAlongCurveParams named stretch.
Calls MR_BendTextAlongCurveParams_Set_stretch().
| void meshlib::BendTextAlongCurveParams::set_surface_offset | ( | value:f32 | ) |
Text mesh inside and outside offset of curve's surface Modifies a member variable of class MR::BendTextAlongCurveParams named surfaceOffset.
Calls MR_BendTextAlongCurveParams_Set_surfaceOffset().
| void meshlib::BendTextAlongCurveParams::set_symbol_mesh | ( | value:&meshlib::SymbolMeshParams | ) |
parameters of contours to mesh conversion Modifies a member variable of class MR::BendTextAlongCurveParams named symbolMesh.
Calls MR_BendTextAlongCurveParams_Set_symbolMesh(). The reference to the parameter value might be preserved in this object in element symbolMesh.
| auto meshlib::BendTextAlongCurveParams::stretch | ( | ) | const -> &bool |
stretch whole text along curve to fit in unit curve range Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named stretch.
Calls MR_BendTextAlongCurveParams_Get_stretch(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::stretch_mut | ( | ) | -> &mut bool |
stretch whole text along curve to fit in unit curve range Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named stretch.
Calls MR_BendTextAlongCurveParams_GetMutable_stretch(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::surface_offset | ( | ) | const -> &f32 |
Text mesh inside and outside offset of curve's surface Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named surfaceOffset.
Calls MR_BendTextAlongCurveParams_Get_surfaceOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::surface_offset_mut | ( | ) | -> &mut f32 |
Text mesh inside and outside offset of curve's surface Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named surfaceOffset.
Calls MR_BendTextAlongCurveParams_GetMutable_surfaceOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::symbol_mesh | ( | ) | const -> &meshlib::SymbolMeshParams |
parameters of contours to mesh conversion Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named symbolMesh.
Calls MR_BendTextAlongCurveParams_Get_symbolMesh(). The reference to this object might be preserved as the return value.
| auto meshlib::BendTextAlongCurveParams::symbol_mesh_mut | ( | ) | -> &mut meshlib::SymbolMeshParams |
parameters of contours to mesh conversion Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named symbolMesh.
Calls MR_BendTextAlongCurveParams_GetMutable_symbolMesh(). The reference to this object might be preserved as the return value.