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

Public Member Functions

auto assign_from_another (_other:&meshlib::Pdf_TextParams) -> &mut meshlib::Pdf_TextParams
auto font_name () const -> &meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path
auto font_name_mut () -> &mut meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path
void set_font_name (value:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path)
auto font_size () const -> &f32
auto font_size_mut () -> &mut f32
void set_font_size (value:f32)
auto alignment () const -> &meshlib::Pdf_AlignmentHorizontal
auto alignment_mut () -> &mut meshlib::Pdf_AlignmentHorizontal
void set_alignment (value:meshlib::Pdf_AlignmentHorizontal)
auto color_text () const -> &meshlib::Color
auto color_text_mut () -> &mut meshlib::Color
void set_color_text (value:meshlib::Color)
auto underline () const -> &bool
auto underline_mut () -> &mut bool
void set_underline (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Pdf_TextParams >
static auto construct_from (fontName:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path, fontSize:f32, alignment:meshlib::Pdf_AlignmentHorizontal, colorText:meshlib::Color, underline:bool) -> meshlib::Owned< meshlib::Pdf_TextParams >
static auto construct_from_another (_other:&meshlib::Pdf_TextParams) -> meshlib::Owned< meshlib::Pdf_TextParams >
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

parameters to drawing text Generated from class MR::Pdf::TextParams.

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

Member Function Documentation

◆ alignment()

auto meshlib::Pdf_TextParams::alignment ( ) const -> &meshlib::Pdf_AlignmentHorizontal

Returns a pointer to a member variable of class MR::Pdf::TextParams named alignment.

Calls MR_Pdf_TextParams_Get_alignment(). The reference to this object might be preserved as the return value.

◆ alignment_mut()

auto meshlib::Pdf_TextParams::alignment_mut ( ) -> &mut meshlib::Pdf_AlignmentHorizontal

Returns a mutable pointer to a member variable of class MR::Pdf::TextParams named alignment.

Calls MR_Pdf_TextParams_GetMutable_alignment(). The reference to this object might be preserved as the return value.

◆ assign_from_another()

auto meshlib::Pdf_TextParams::assign_from_another ( _other:&meshlib::Pdf_TextParams ) -> &mut meshlib::Pdf_TextParams

Generated from method MR::Pdf::TextParams::operator=.

Calls MR_Pdf_TextParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ color_text()

auto meshlib::Pdf_TextParams::color_text ( ) const -> &meshlib::Color

Returns a pointer to a member variable of class MR::Pdf::TextParams named colorText.

Calls MR_Pdf_TextParams_Get_colorText(). The reference to this object might be preserved as the return value.

◆ color_text_mut()

auto meshlib::Pdf_TextParams::color_text_mut ( ) -> &mut meshlib::Color

Returns a mutable pointer to a member variable of class MR::Pdf::TextParams named colorText.

Calls MR_Pdf_TextParams_GetMutable_colorText(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::Pdf_TextParams::construct_from ( fontName:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path ,
fontSize:f32 ,
alignment:meshlib::Pdf_AlignmentHorizontal ,
colorText:meshlib::Color ,
underline:bool  ) -> meshlib::Owned< meshlib::Pdf_TextParams >
static

Constructs MR::Pdf::TextParams elementwise.

Calls MR_Pdf_TextParams_ConstructFrom(). The reference to the parameter fontName might be preserved in the constructed object. The reference to the parameter alignment might be preserved in the constructed object. The reference to the parameter colorText might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::Pdf_TextParams::construct_from_another ( _other:&meshlib::Pdf_TextParams ) -> meshlib::Owned< meshlib::Pdf_TextParams >
static

Generated from constructor MR::Pdf::TextParams::TextParams.

Calls MR_Pdf_TextParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ font_name()

auto meshlib::Pdf_TextParams::font_name ( ) const -> &meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path

Returns a pointer to a member variable of class MR::Pdf::TextParams named fontName.

Calls MR_Pdf_TextParams_Get_fontName(). The reference to this object might be preserved as the return value.

◆ font_name_mut()

auto meshlib::Pdf_TextParams::font_name_mut ( ) -> &mut meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path

Returns a mutable pointer to a member variable of class MR::Pdf::TextParams named fontName.

Calls MR_Pdf_TextParams_GetMutable_fontName(). The reference to this object might be preserved as the return value.

◆ font_size()

auto meshlib::Pdf_TextParams::font_size ( ) const -> &f32

Returns a pointer to a member variable of class MR::Pdf::TextParams named fontSize.

Calls MR_Pdf_TextParams_Get_fontSize(). The reference to this object might be preserved as the return value.

◆ font_size_mut()

auto meshlib::Pdf_TextParams::font_size_mut ( ) -> &mut f32

Returns a mutable pointer to a member variable of class MR::Pdf::TextParams named fontSize.

Calls MR_Pdf_TextParams_GetMutable_fontSize(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Pdf_TextParams_DefaultConstruct().

◆ set_alignment()

void meshlib::Pdf_TextParams::set_alignment ( value:meshlib::Pdf_AlignmentHorizontal )

Modifies a member variable of class MR::Pdf::TextParams named alignment.

Calls MR_Pdf_TextParams_Set_alignment(). The reference to the parameter value might be preserved in this object in element alignment.

◆ set_color_text()

void meshlib::Pdf_TextParams::set_color_text ( value:meshlib::Color )

Modifies a member variable of class MR::Pdf::TextParams named colorText.

Calls MR_Pdf_TextParams_Set_colorText(). The reference to the parameter value might be preserved in this object in element colorText.

◆ set_font_name()

void meshlib::Pdf_TextParams::set_font_name ( value:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path )

Modifies a member variable of class MR::Pdf::TextParams named fontName.

Calls MR_Pdf_TextParams_Set_fontName(). The reference to the parameter value might be preserved in this object in element fontName.

◆ set_font_size()

void meshlib::Pdf_TextParams::set_font_size ( value:f32 )

Modifies a member variable of class MR::Pdf::TextParams named fontSize.

Calls MR_Pdf_TextParams_Set_fontSize().

◆ set_underline()

void meshlib::Pdf_TextParams::set_underline ( value:bool )

Modifies a member variable of class MR::Pdf::TextParams named underline.

Calls MR_Pdf_TextParams_Set_underline().

◆ underline()

auto meshlib::Pdf_TextParams::underline ( ) const -> &bool

Returns a pointer to a member variable of class MR::Pdf::TextParams named underline.

Calls MR_Pdf_TextParams_Get_underline(). The reference to this object might be preserved as the return value.

◆ underline_mut()

auto meshlib::Pdf_TextParams::underline_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::Pdf::TextParams named underline.

Calls MR_Pdf_TextParams_GetMutable_underline(). The reference to this object might be preserved as the return value.


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