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 |
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>.
| 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.
| 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.
| 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.
| 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.
| 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.
|
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.
|
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.
| 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.
| 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.
| 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.
| 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.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Pdf_TextParams_DefaultConstruct().
| 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.
| 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.
| 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.
| 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().
| 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().
| 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.
| 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.