Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SymbolMeshParams > |
| static auto | construct_from (text:&str, fontDetalization:core::ffi::c_int, symbolsDistanceAdditionalOffset:meshlib::Vector2f, symbolsThicknessOffsetModifier:f32, align:meshlib::AlignType, pathToFontFile:&str) -> meshlib::Owned< meshlib::SymbolMeshParams > |
| static auto | construct_from_another (_other:&meshlib::SymbolMeshParams) -> meshlib::Owned< meshlib::SymbolMeshParams > |
| static auto | max_generated_font_height () -> *const f32 |
| 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::SymbolMeshParams. Derived classes: Direct: (non-virtual) MR::TextMeshAlignParams
Generated from class MR::SymbolMeshParams. Heap-allocated instances are held in Owned<SymbolMeshParams>.
| auto meshlib::SymbolMeshParams::align | ( | ) | const -> &meshlib::AlignType |
alignment of the text inside bbox Returns a pointer to a member variable of class MR::SymbolMeshParams named align.
Calls MR_SymbolMeshParams_Get_align(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::align_mut | ( | ) | -> &mut meshlib::AlignType |
alignment of the text inside bbox Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named align.
Calls MR_SymbolMeshParams_GetMutable_align(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::assign_from_another | ( | _other:&meshlib::SymbolMeshParams | ) | -> &mut meshlib::SymbolMeshParams |
Generated from method MR::SymbolMeshParams::operator=.
Calls MR_SymbolMeshParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::SymbolMeshParams elementwise.
Calls MR_SymbolMeshParams_ConstructFrom(). The reference to the parameter text might be preserved in the constructed object. The reference to the parameter symbolsDistanceAdditionalOffset might be preserved in the constructed object. The reference to the parameter align might be preserved in the constructed object. The reference to the parameter pathToFontFile might be preserved in the constructed object.
|
static |
Generated from constructor MR::SymbolMeshParams::SymbolMeshParams.
Calls MR_SymbolMeshParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SymbolMeshParams::font_detalization | ( | ) | const -> &core::ffi::c_int |
Detailization of Bezier curves on font glyphs Returns a pointer to a member variable of class MR::SymbolMeshParams named fontDetalization.
Calls MR_SymbolMeshParams_Get_fontDetalization(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::font_detalization_mut | ( | ) | -> &mut core::ffi::c_int |
Detailization of Bezier curves on font glyphs Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named fontDetalization.
Calls MR_SymbolMeshParams_GetMutable_fontDetalization(). The reference to this object might be preserved as the return value.
|
static |
max font size with 128 << 6 FT_F26Dot6 font size Returns a pointer to a member variable of class MR::SymbolMeshParams named MaxGeneratedFontHeight.
Calls MR_SymbolMeshParams_Get_MaxGeneratedFontHeight().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SymbolMeshParams_DefaultConstruct().
| auto meshlib::SymbolMeshParams::path_to_font_file | ( | ) | const -> &meshlib::std_filesystem_path |
Path to font file Returns a pointer to a member variable of class MR::SymbolMeshParams named pathToFontFile.
Calls MR_SymbolMeshParams_Get_pathToFontFile(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::path_to_font_file_mut | ( | ) | -> &mut meshlib::std_filesystem_path |
Path to font file Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named pathToFontFile.
Calls MR_SymbolMeshParams_GetMutable_pathToFontFile(). The reference to this object might be preserved as the return value.
| void meshlib::SymbolMeshParams::set_align | ( | value:meshlib::AlignType | ) |
alignment of the text inside bbox Modifies a member variable of class MR::SymbolMeshParams named align.
Calls MR_SymbolMeshParams_Set_align(). The reference to the parameter value might be preserved in this object in element align.
| void meshlib::SymbolMeshParams::set_font_detalization | ( | value:core::ffi::c_int | ) |
Detailization of Bezier curves on font glyphs Modifies a member variable of class MR::SymbolMeshParams named fontDetalization.
Calls MR_SymbolMeshParams_Set_fontDetalization().
| void meshlib::SymbolMeshParams::set_path_to_font_file | ( | value:& | str | ) |
Path to font file Modifies a member variable of class MR::SymbolMeshParams named pathToFontFile.
Calls MR_SymbolMeshParams_Set_pathToFontFile(). The reference to the parameter value might be preserved in this object in element pathToFontFile.
| void meshlib::SymbolMeshParams::set_symbols_distance_additional_offset | ( | value:meshlib::Vector2f | ) |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Modifies a member variable of class MR::SymbolMeshParams named symbolsDistanceAdditionalOffset.
Calls MR_SymbolMeshParams_Set_symbolsDistanceAdditionalOffset(). The reference to the parameter value might be preserved in this object in element symbolsDistanceAdditionalOffset.
| void meshlib::SymbolMeshParams::set_symbols_thickness_offset_modifier | ( | value:f32 | ) |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Modifies a member variable of class MR::SymbolMeshParams named symbolsThicknessOffsetModifier.
Calls MR_SymbolMeshParams_Set_symbolsThicknessOffsetModifier().
| void meshlib::SymbolMeshParams::set_text | ( | value:& | str | ) |
Text that will be made mesh Modifies a member variable of class MR::SymbolMeshParams named text.
Calls MR_SymbolMeshParams_Set_text(). The reference to the parameter value might be preserved in this object in element text.
| auto meshlib::SymbolMeshParams::symbols_distance_additional_offset | ( | ) | const -> &meshlib::Vector2f |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Returns a pointer to a member variable of class MR::SymbolMeshParams named symbolsDistanceAdditionalOffset.
Calls MR_SymbolMeshParams_Get_symbolsDistanceAdditionalOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::symbols_distance_additional_offset_mut | ( | ) | -> &mut meshlib::Vector2f |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named symbolsDistanceAdditionalOffset.
Calls MR_SymbolMeshParams_GetMutable_symbolsDistanceAdditionalOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::symbols_thickness_offset_modifier | ( | ) | const -> &f32 |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Returns a pointer to a member variable of class MR::SymbolMeshParams named symbolsThicknessOffsetModifier.
Calls MR_SymbolMeshParams_Get_symbolsThicknessOffsetModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::symbols_thickness_offset_modifier_mut | ( | ) | -> &mut f32 |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named symbolsThicknessOffsetModifier.
Calls MR_SymbolMeshParams_GetMutable_symbolsThicknessOffsetModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::text | ( | ) | const -> &meshlib::std_string |
Text that will be made mesh Returns a pointer to a member variable of class MR::SymbolMeshParams named text.
Calls MR_SymbolMeshParams_Get_text(). The reference to this object might be preserved as the return value.
| auto meshlib::SymbolMeshParams::text_mut | ( | ) | -> &mut meshlib::std_string |
Text that will be made mesh Returns a mutable pointer to a member variable of class MR::SymbolMeshParams named text.
Calls MR_SymbolMeshParams_GetMutable_text(). The reference to this object might be preserved as the return value.