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

Public Member Functions

auto assign_from_another (_other:&meshlib::Pdf_TextCellParams) -> &mut meshlib::Pdf_TextCellParams
auto text_params () const -> &meshlib::Pdf_TextParams
auto text_params_mut () -> &mut meshlib::Pdf_TextParams
void set_text_params (value:&meshlib::Pdf_TextParams)
auto rect () const -> &meshlib::Box2f
auto rect_mut () -> &mut meshlib::Box2f
void set_rect (value:meshlib::Box2f)
auto color_border () const -> &meshlib::Color
auto color_border_mut () -> &mut meshlib::Color
void set_color_border (value:meshlib::Color)
auto color_background () const -> &meshlib::Color
auto color_background_mut () -> &mut meshlib::Color
void set_color_background (value:meshlib::Color)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Pdf_TextCellParams >
static auto construct_from (textParams:&meshlib::Pdf_TextParams, rect:meshlib::Box2f, colorBorder:meshlib::Color, colorBackground:meshlib::Color) -> meshlib::Owned< meshlib::Pdf_TextCellParams >
static auto construct_from_another (_other:&meshlib::Pdf_TextCellParams) -> meshlib::Owned< meshlib::Pdf_TextCellParams >
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::Pdf::TextCellParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ color_background()

auto meshlib::Pdf_TextCellParams::color_background ( ) const -> &meshlib::Color

Returns a pointer to a member variable of class MR::Pdf::TextCellParams named colorBackground.

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

◆ color_background_mut()

auto meshlib::Pdf_TextCellParams::color_background_mut ( ) -> &mut meshlib::Color

Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams named colorBackground.

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

◆ color_border()

auto meshlib::Pdf_TextCellParams::color_border ( ) const -> &meshlib::Color

Returns a pointer to a member variable of class MR::Pdf::TextCellParams named colorBorder.

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

◆ color_border_mut()

auto meshlib::Pdf_TextCellParams::color_border_mut ( ) -> &mut meshlib::Color

Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams named colorBorder.

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

◆ construct_from()

auto meshlib::Pdf_TextCellParams::construct_from ( textParams:&meshlib::Pdf_TextParams ,
rect:meshlib::Box2f ,
colorBorder:meshlib::Color ,
colorBackground:meshlib::Color  ) -> meshlib::Owned< meshlib::Pdf_TextCellParams >
static

Constructs MR::Pdf::TextCellParams elementwise.

Calls MR_Pdf_TextCellParams_ConstructFrom(). The reference to the parameter textParams might be preserved in the constructed object. The reference to the parameter rect might be preserved in the constructed object. The reference to the parameter colorBorder might be preserved in the constructed object. The reference to the parameter colorBackground might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Pdf::TextCellParams::TextCellParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Pdf_TextCellParams_DefaultConstruct().

◆ rect()

auto meshlib::Pdf_TextCellParams::rect ( ) const -> &meshlib::Box2f

Returns a pointer to a member variable of class MR::Pdf::TextCellParams named rect.

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

◆ rect_mut()

auto meshlib::Pdf_TextCellParams::rect_mut ( ) -> &mut meshlib::Box2f

Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams named rect.

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

◆ set_color_background()

void meshlib::Pdf_TextCellParams::set_color_background ( value:meshlib::Color )

Modifies a member variable of class MR::Pdf::TextCellParams named colorBackground.

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

◆ set_color_border()

void meshlib::Pdf_TextCellParams::set_color_border ( value:meshlib::Color )

Modifies a member variable of class MR::Pdf::TextCellParams named colorBorder.

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

◆ set_rect()

void meshlib::Pdf_TextCellParams::set_rect ( value:meshlib::Box2f )

Modifies a member variable of class MR::Pdf::TextCellParams named rect.

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

◆ set_text_params()

void meshlib::Pdf_TextCellParams::set_text_params ( value:&meshlib::Pdf_TextParams )

Modifies a member variable of class MR::Pdf::TextCellParams named textParams.

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

◆ text_params()

auto meshlib::Pdf_TextCellParams::text_params ( ) const -> &meshlib::Pdf_TextParams

Returns a pointer to a member variable of class MR::Pdf::TextCellParams named textParams.

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

◆ text_params_mut()

auto meshlib::Pdf_TextCellParams::text_params_mut ( ) -> &mut meshlib::Pdf_TextParams

Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams named textParams.

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


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