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