MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::BendTextAlongCurveParams Struct Reference
Inheritance diagram for meshlib::BendTextAlongCurveParams:

Public Member Functions

auto assign_from_another (_other:&meshlib::BendTextAlongCurveParams) -> &mut meshlib::BendTextAlongCurveParams
auto symbol_mesh () const -> &meshlib::SymbolMeshParams
auto symbol_mesh_mut () -> &mut meshlib::SymbolMeshParams
void set_symbol_mesh (value:&meshlib::SymbolMeshParams)
auto pivot_curve_time () const -> &f32
auto pivot_curve_time_mut () -> &mut f32
void set_pivot_curve_time (value:f32)
auto pivot_box_point () const -> &meshlib::Vector2f
auto pivot_box_point_mut () -> &mut meshlib::Vector2f
void set_pivot_box_point (value:meshlib::Vector2f)
auto font_height () const -> &f32
auto font_height_mut () -> &mut f32
void set_font_height (value:f32)
auto surface_offset () const -> &f32
auto surface_offset_mut () -> &mut f32
void set_surface_offset (value:f32)
auto font_based_size_calc () const -> &bool
auto font_based_size_calc_mut () -> &mut bool
void set_font_based_size_calc (value:bool)
auto periodic_curve () const -> &bool
auto periodic_curve_mut () -> &mut bool
void set_periodic_curve (value:bool)
auto stretch () const -> &bool
auto stretch_mut () -> &mut bool
void set_stretch (value:bool)

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

Detailed Description

Generated from class MR::BendTextAlongCurveParams.

Generated from class MR::BendTextAlongCurveParams. Heap-allocated instances are held in Owned<BendTextAlongCurveParams>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::BendTextAlongCurveParams::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

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.

◆ construct_from_another()

auto meshlib::BendTextAlongCurveParams::construct_from_another ( _other:&meshlib::BendTextAlongCurveParams ) -> meshlib::Owned< meshlib::BendTextAlongCurveParams >
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.

◆ font_based_size_calc()

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.

◆ font_based_size_calc_mut()

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.

◆ font_height()

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.

◆ font_height_mut()

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.

◆ new()

auto meshlib::BendTextAlongCurveParams::new ( ) -> meshlib::Owned< meshlib::BendTextAlongCurveParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_BendTextAlongCurveParams_DefaultConstruct().

◆ periodic_curve()

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.

◆ periodic_curve_mut()

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.

◆ pivot_box_point()

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.

◆ pivot_box_point_mut()

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.

◆ pivot_curve_time()

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.

◆ pivot_curve_time_mut()

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.

◆ set_font_based_size_calc()

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().

◆ set_font_height()

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().

◆ set_periodic_curve()

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().

◆ set_pivot_box_point()

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.

◆ set_pivot_curve_time()

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().

◆ set_stretch()

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().

◆ set_surface_offset()

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().

◆ set_symbol_mesh()

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.

◆ stretch()

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.

◆ stretch_mut()

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.

◆ surface_offset()

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.

◆ surface_offset_mut()

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.

◆ symbol_mesh()

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.

◆ symbol_mesh_mut()

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.


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