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

Public Member Functions

auto assign_from_another (_other:&meshlib::Pdf_ImageParams) -> &mut meshlib::Pdf_ImageParams
auto size () const -> &meshlib::Vector2f
auto size_mut () -> &mut meshlib::Vector2f
void set_size (value:meshlib::Vector2f)
auto caption () const -> &meshlib::std_string
auto caption_mut () -> &mut meshlib::std_string
void set_caption (value:&str)
auto uniform_scale () const -> &meshlib::Pdf_ImageParams_UniformScale
auto uniform_scale_mut () -> &mut meshlib::Pdf_ImageParams_UniformScale
void set_uniform_scale (value:meshlib::Pdf_ImageParams_UniformScale)
auto alignment_vertical () const -> &meshlib::Pdf_ImageParams_AlignmentVertical
auto alignment_vertical_mut () -> &mut meshlib::Pdf_ImageParams_AlignmentVertical
void set_alignment_vertical (value:meshlib::Pdf_ImageParams_AlignmentVertical)
auto alignment_horizontal () const -> &meshlib::Pdf_AlignmentHorizontal
auto alignment_horizontal_mut () -> &mut meshlib::Pdf_AlignmentHorizontal
void set_alignment_horizontal (value:meshlib::Pdf_AlignmentHorizontal)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Pdf_ImageParams >
static auto construct_from (size:meshlib::Vector2f, caption:&str, uniformScale:meshlib::Pdf_ImageParams_UniformScale, alignmentVertical:meshlib::Pdf_ImageParams_AlignmentVertical, alignmentHorizontal:meshlib::Pdf_AlignmentHorizontal) -> meshlib::Owned< meshlib::Pdf_ImageParams >
static auto construct_from_another (_other:&meshlib::Pdf_ImageParams) -> meshlib::Owned< meshlib::Pdf_ImageParams >
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 adding image from file Generated from class MR::Pdf::ImageParams.

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

Member Function Documentation

◆ alignment_horizontal()

auto meshlib::Pdf_ImageParams::alignment_horizontal ( ) const -> &meshlib::Pdf_AlignmentHorizontal

Returns a pointer to a member variable of class MR::Pdf::ImageParams named alignmentHorizontal.

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

◆ alignment_horizontal_mut()

auto meshlib::Pdf_ImageParams::alignment_horizontal_mut ( ) -> &mut meshlib::Pdf_AlignmentHorizontal

Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams named alignmentHorizontal.

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

◆ alignment_vertical()

auto meshlib::Pdf_ImageParams::alignment_vertical ( ) const -> &meshlib::Pdf_ImageParams_AlignmentVertical

Returns a pointer to a member variable of class MR::Pdf::ImageParams named alignmentVertical.

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

◆ alignment_vertical_mut()

auto meshlib::Pdf_ImageParams::alignment_vertical_mut ( ) -> &mut meshlib::Pdf_ImageParams_AlignmentVertical

Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams named alignmentVertical.

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

◆ assign_from_another()

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

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

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

◆ caption()

auto meshlib::Pdf_ImageParams::caption ( ) const -> &meshlib::std_string

caption if not empty - add caption under marks (if exist) or image. Returns a pointer to a member variable of class MR::Pdf::ImageParams named caption.

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

◆ caption_mut()

auto meshlib::Pdf_ImageParams::caption_mut ( ) -> &mut meshlib::std_string

caption if not empty - add caption under marks (if exist) or image. Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams named caption.

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

◆ construct_from()

auto meshlib::Pdf_ImageParams::construct_from ( size:meshlib::Vector2f ,
caption:& str,
uniformScale:meshlib::Pdf_ImageParams_UniformScale ,
alignmentVertical:meshlib::Pdf_ImageParams_AlignmentVertical ,
alignmentHorizontal:meshlib::Pdf_AlignmentHorizontal  ) -> meshlib::Owned< meshlib::Pdf_ImageParams >
static

Constructs MR::Pdf::ImageParams elementwise.

Calls MR_Pdf_ImageParams_ConstructFrom(). The reference to the parameter size might be preserved in the constructed object. The reference to the parameter caption might be preserved in the constructed object. The reference to the parameter uniformScale might be preserved in the constructed object. The reference to the parameter alignmentVertical might be preserved in the constructed object. The reference to the parameter alignmentHorizontal might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Pdf::ImageParams::ImageParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Pdf_ImageParams_DefaultConstruct().

◆ set_alignment_horizontal()

void meshlib::Pdf_ImageParams::set_alignment_horizontal ( value:meshlib::Pdf_AlignmentHorizontal )

Modifies a member variable of class MR::Pdf::ImageParams named alignmentHorizontal.

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

◆ set_alignment_vertical()

void meshlib::Pdf_ImageParams::set_alignment_vertical ( value:meshlib::Pdf_ImageParams_AlignmentVertical )

Modifies a member variable of class MR::Pdf::ImageParams named alignmentVertical.

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

◆ set_caption()

void meshlib::Pdf_ImageParams::set_caption ( value:& str)

caption if not empty - add caption under marks (if exist) or image. Modifies a member variable of class MR::Pdf::ImageParams named caption.

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

◆ set_size()

void meshlib::Pdf_ImageParams::set_size ( value:meshlib::Vector2f )

image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for) Modifies a member variable of class MR::Pdf::ImageParams named size.

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

◆ set_uniform_scale()

void meshlib::Pdf_ImageParams::set_uniform_scale ( value:meshlib::Pdf_ImageParams_UniformScale )

Modifies a member variable of class MR::Pdf::ImageParams named uniformScale.

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

◆ size()

auto meshlib::Pdf_ImageParams::size ( ) const -> &meshlib::Vector2f

image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for) Returns a pointer to a member variable of class MR::Pdf::ImageParams named size.

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

◆ size_mut()

auto meshlib::Pdf_ImageParams::size_mut ( ) -> &mut meshlib::Vector2f

image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for) Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams named size.

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

◆ uniform_scale()

auto meshlib::Pdf_ImageParams::uniform_scale ( ) const -> &meshlib::Pdf_ImageParams_UniformScale

Returns a pointer to a member variable of class MR::Pdf::ImageParams named uniformScale.

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

◆ uniform_scale_mut()

auto meshlib::Pdf_ImageParams::uniform_scale_mut ( ) -> &mut meshlib::Pdf_ImageParams_UniformScale

Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams named uniformScale.

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


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