#include <MRCMesh/MRBox.h>
#include <MRCMesh/MRColor.h>
#include <MRCMesh/MRVector2.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
typedef struct MR_expected_void_std_string MR_expected_void_std_string |
typedef enum MR_Pdf_AlignmentHorizontal MR_Pdf_AlignmentHorizontal |
typedef struct MR_Pdf_Cell MR_Pdf_Cell |
Generated from class MR::Pdf::Cell
.
typedef struct MR_Pdf_Cell_Empty MR_Pdf_Cell_Empty |
Generated from class MR::Pdf::Cell::Empty
.
typedef struct MR_Pdf_CellCustomParams MR_Pdf_CellCustomParams |
Generated from class MR::Pdf::CellCustomParams
.
typedef struct MR_Pdf_ImageParams MR_Pdf_ImageParams |
Parameters to adding image from file Generated from class MR::Pdf::ImageParams
.
set height to keep same scale as width scale
typedef struct MR_Pdf_PaletteRowStats MR_Pdf_PaletteRowStats |
Generated from class MR::Pdf::PaletteRowStats
.
typedef struct MR_Pdf_TextCellParams MR_Pdf_TextCellParams |
Generated from class MR::Pdf::TextCellParams
.
typedef struct MR_Pdf_TextParams MR_Pdf_TextParams |
Generated from class MR::Pdf::TextParams
.
typedef enum MR_PdfBuildinFont MR_PdfBuildinFont |
Fonts included in libharu please note that using default font does not allow UTF-8 encoding
typedef struct MR_PdfParameters MR_PdfParameters |
Parameters of document style.
Generated from class MR::PdfParameters
.
typedef struct MR_std_function_MR_Pdf_CellCustomParams_from_int_int_const_std_string_ref MR_std_function_MR_Pdf_CellCustomParams_from_int_int_const_std_string_ref |
typedef struct MR_std_optional_MR_Color MR_std_optional_MR_Color |
typedef struct MR_std_optional_std_string MR_std_optional_std_string |
typedef struct MR_std_string MR_std_string |
typedef struct MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty |
typedef struct MR_std_variant_MR_PdfBuildinFont_std_filesystem_path MR_std_variant_MR_PdfBuildinFont_std_filesystem_path |
typedef struct MR_std_vector_float MR_std_vector_float |
typedef struct MR_std_vector_MR_Pdf_Cell MR_std_vector_MR_Pdf_Cell |
typedef struct MR_std_vector_std_string MR_std_vector_std_string |
enum MR_PdfBuildinFont |
Fonts included in libharu please note that using default font does not allow UTF-8 encoding
MRC_API void MR_Pdf_addImage | ( | MR_Pdf * | _this, |
const MR_Image * | image, | ||
const MR_Pdf_ImageParams * | params ) |
Generated from a method of class MR::Pdf
named addImage
. Parameter _this
can not be null. It is a single object. Parameter image
can not be null. It is a single object. Parameter params
can not be null. It is a single object.
MRC_API void MR_Pdf_addImageFromFile | ( | MR_Pdf * | _this, |
const char * | imagePath, | ||
const char * | imagePath_end, | ||
const MR_Pdf_ImageParams * | params ) |
Add image from file in current cursor position. If image bigger than page size, autoscale image to page size. Move cursor.
Generated from a method of class MR::Pdf
named addImageFromFile
. Parameter _this
can not be null. It is a single object. Parameter imagePath
is a UTF-8 encoded filesystem path. Parameter params
can not be null. It is a single object.
MRC_API void MR_Pdf_addPaletteStatsTable | ( | MR_Pdf * | _this, |
const MR_std_vector_MR_Pdf_PaletteRowStats * | paletteStats ) |
Generated from a method of class MR::Pdf
named addPaletteStatsTable
. Parameter _this
can not be null. It is a single object. Parameter paletteStats
can not be null. It is a single object.
MRC_API MR_expected_void_std_string * MR_Pdf_addRow | ( | MR_Pdf * | _this, |
const MR_std_vector_MR_Pdf_Cell * | cells ) |
Generated from a method of class MR::Pdf
named addRow
. Parameter _this
can not be null. It is a single object. Parameter cells
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.
MRC_API void MR_Pdf_addTable | ( | MR_Pdf * | _this, |
const MR_std_vector_std_pair_std_string_float * | table ) |
Add set of pair string - value in current cursor position. Move cursor. Box horizontal size is page width without offset. Box vertical size is automatically for text. Generated from a method of class MR::Pdf
named addTable
. Parameter _this
can not be null. It is a single object. Parameter table
can not be null. It is a single object.
MRC_API MR_expected_void_std_string * MR_Pdf_addTableTitles | ( | MR_Pdf * | _this, |
const MR_std_vector_std_string * | titles ) |
Generated from a method of class MR::Pdf
named addTableTitles
. Parameter _this
can not be null. It is a single object. Parameter titles
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.
MRC_API void MR_Pdf_addText_bool | ( | MR_Pdf * | _this, |
const MR_std_string * | text, | ||
const bool * | isTitle ) |
Add text block in current cursor position. Move cursor. Box horizontal size is page width without offset. Box vertical size is automatically for text. horAlignment = left if isTitle - horAlignment = center, use titleFontSize Generated from a method of class MR::Pdf
named addText
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object. Parameter isTitle
has a default argument: false
, pass a null pointer to use it.
MRC_API void MR_Pdf_addText_MR_Pdf_TextParams | ( | MR_Pdf * | _this, |
const MR_std_string * | text, | ||
const MR_Pdf_TextParams * | params ) |
Generated from a method of class MR::Pdf
named addText
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object. Parameter params
can not be null. It is a single object.
MRC_API MR_Pdf * MR_Pdf_AssignFromAnother | ( | MR_Pdf * | _this, |
MR_PassBy | other_pass_by, | ||
MR_Pdf * | other ) |
Generated from a method of class MR::Pdf
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_AssignFromAnother | ( | MR_Pdf_Cell * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_Cell * | _other ) |
Generated from a method of class MR::Pdf::Cell
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_Cell * | _other ) |
Generated from a constructor of class MR::Pdf::Cell
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Cell_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Cell_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_Cell_DestroyArray()
. Use MR_Pdf_Cell_OffsetMutablePtr()
and MR_Pdf_Cell_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_Cell_Destroy | ( | const MR_Pdf_Cell * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_Cell
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_Cell_DestroyArray | ( | const MR_Pdf_Cell * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_Cell
. Does nothing if the pointer is null.
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_AssignFromAnother | ( | MR_Pdf_Cell_Empty * | _this, |
const MR_Pdf_Cell_Empty * | _other ) |
Generated from a method of class MR::Pdf::Cell::Empty
named operator=
. Parameter _this
can not be null. It is a single object. Parameter _other
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_ConstructFromAnother | ( | const MR_Pdf_Cell_Empty * | _other | ) |
Generated from a constructor of class MR::Pdf::Cell::Empty
. Parameter _other
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Cell_Empty_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Cell_Empty_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_Cell_Empty_DestroyArray()
. Use MR_Pdf_Cell_Empty_OffsetMutablePtr()
and MR_Pdf_Cell_Empty_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_Cell_Empty_Destroy | ( | const MR_Pdf_Cell_Empty * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_Cell_Empty
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_Cell_Empty_DestroyArray | ( | const MR_Pdf_Cell_Empty * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_Cell_Empty
. Does nothing if the pointer is null.
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_OffsetMutablePtr | ( | MR_Pdf_Cell_Empty * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_OffsetPtr | ( | const MR_Pdf_Cell_Empty * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_Pdf_Cell_Get_data | ( | const MR_Pdf_Cell * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::Cell
named data
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_Pdf_Cell_GetMutable_data | ( | MR_Pdf_Cell * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::Cell
named data
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_OffsetMutablePtr | ( | MR_Pdf_Cell * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_Cell * MR_Pdf_Cell_OffsetPtr | ( | const MR_Pdf_Cell * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_Cell_Set_data | ( | MR_Pdf_Cell * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * | value ) |
Modifies a member variable of class MR::Pdf::Cell
named data
. Parameter _this
can not be null. It is a single object.
MRC_API MR_std_string * MR_Pdf_Cell_toString | ( | const MR_Pdf_Cell * | _this, |
const MR_std_string * | fmtStr ) |
Generated from a method of class MR::Pdf::Cell
named toString
. Parameter _this
can not be null. It is a single object. Parameter fmtStr
is a single object. Parameter fmtStr
has a default argument: "{}"
, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_AssignFromAnother | ( | MR_Pdf_CellCustomParams * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_CellCustomParams * | _other ) |
Generated from a method of class MR::Pdf::CellCustomParams
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_ConstructFrom | ( | const MR_Color * | colorText, |
const MR_Color * | colorCellBg, | ||
const MR_Color * | colorCellBorder, | ||
const char * | text, | ||
const char * | text_end ) |
Constructs MR::Pdf::CellCustomParams
elementwise. Parameter colorText
is optional. To keep it empty, pass a null pointer. Parameter colorCellBg
is optional. To keep it empty, pass a null pointer. Parameter colorCellBorder
is optional. To keep it empty, pass a null pointer. If text_end
is null, then text
is assumed to be null-terminated. Non-null text_end
requires a non-null text
. Parameter text
is optional. To keep it empty, pass a null pointer to both it and text_end
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_CellCustomParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_CellCustomParams * | _other ) |
Generated from a constructor of class MR::Pdf::CellCustomParams
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_CellCustomParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_CellCustomParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_CellCustomParams_DestroyArray()
. Use MR_Pdf_CellCustomParams_OffsetMutablePtr()
and MR_Pdf_CellCustomParams_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_CellCustomParams_Destroy | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_CellCustomParams
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_CellCustomParams_DestroyArray | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_CellCustomParams
. Does nothing if the pointer is null.
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorCellBg | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::CellCustomParams
named colorCellBg
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorCellBorder | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::CellCustomParams
named colorCellBorder
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorText | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::CellCustomParams
named colorText
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_optional_std_string * MR_Pdf_CellCustomParams_Get_text | ( | const MR_Pdf_CellCustomParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::CellCustomParams
named text
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorCellBg | ( | MR_Pdf_CellCustomParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::CellCustomParams
named colorCellBg
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorCellBorder | ( | MR_Pdf_CellCustomParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::CellCustomParams
named colorCellBorder
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorText | ( | MR_Pdf_CellCustomParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::CellCustomParams
named colorText
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_optional_std_string * MR_Pdf_CellCustomParams_GetMutable_text | ( | MR_Pdf_CellCustomParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::CellCustomParams
named text
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_OffsetMutablePtr | ( | MR_Pdf_CellCustomParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_OffsetPtr | ( | const MR_Pdf_CellCustomParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBg | ( | MR_Pdf_CellCustomParams * | _this, |
const MR_Color * | value ) |
Modifies a member variable of class MR::Pdf::CellCustomParams
named colorCellBg
. Parameter _this
can not be null. It is a single object. Parameter value
is optional. To keep it empty, pass a null pointer.
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBorder | ( | MR_Pdf_CellCustomParams * | _this, |
const MR_Color * | value ) |
Modifies a member variable of class MR::Pdf::CellCustomParams
named colorCellBorder
. Parameter _this
can not be null. It is a single object. Parameter value
is optional. To keep it empty, pass a null pointer.
MRC_API void MR_Pdf_CellCustomParams_Set_colorText | ( | MR_Pdf_CellCustomParams * | _this, |
const MR_Color * | value ) |
Modifies a member variable of class MR::Pdf::CellCustomParams
named colorText
. Parameter _this
can not be null. It is a single object. Parameter value
is optional. To keep it empty, pass a null pointer.
MRC_API void MR_Pdf_CellCustomParams_Set_text | ( | MR_Pdf_CellCustomParams * | _this, |
const char * | value, | ||
const char * | value_end ) |
Modifies a member variable of class MR::Pdf::CellCustomParams
named text
. Parameter _this
can not be null. It is a single object. If value_end
is null, then value
is assumed to be null-terminated. Non-null value_end
requires a non-null value
. Parameter value
is optional. To keep it empty, pass a null pointer to both it and value_end
.
MRC_API MR_Pdf * MR_Pdf_Construct | ( | const MR_PdfParameters * | params | ) |
Ctor. Create a document, but not a page. To create a new page use newPage() method Generated from a constructor of class MR::Pdf
. Parameter params
is a single object. Parameter params
has a default argument: MR::PdfParameters()
, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Destroy()
to free it when you're done using it.
Generated from a constructor of class MR::Pdf
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_Destroy()
to free it when you're done using it.
Checking the ability to work with a document Generated from a conversion operator of class MR::Pdf
to type bool
. Parameter _this
can not be null. It is a single object.
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_DestroyArray()
. Use MR_Pdf_OffsetMutablePtr()
and MR_Pdf_OffsetPtr()
to access the array elements.
Destroys a heap-allocated instance of MR_Pdf
. Does nothing if the pointer is null.
Destroys a heap-allocated array of MR_Pdf
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_drawTextCell | ( | MR_Pdf * | _this, |
const MR_std_string * | text, | ||
const MR_Pdf_TextCellParams * | params ) |
Generated from a method of class MR::Pdf
named drawTextCell
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object. Parameter params
can not be null. It is a single object.
MRC_API void MR_Pdf_drawTextInRect | ( | MR_Pdf * | _this, |
const MR_std_string * | text, | ||
const MR_Box2f * | rect, | ||
const MR_Pdf_TextParams * | params ) |
Generated from a method of class MR::Pdf
named drawTextInRect
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object. Parameter rect
can not be null. It is a single object. Parameter params
can not be null. It is a single object.
Generated from a method of class MR::Pdf
named getCursorPosX
. Parameter _this
can not be null. It is a single object.
Generated from a method of class MR::Pdf
named getCursorPosY
. Parameter _this
can not be null. It is a single object.
MRC_API MR_Vector2f MR_Pdf_getPageSize | ( | const MR_Pdf * | _this | ) |
Generated from a method of class MR::Pdf
named getPageSize
. Parameter _this
can not be null. It is a single object.
Generated from a method of class MR::Pdf
named getPageWorkArea
. Parameter _this
can not be null. It is a single object.
MRC_API float MR_Pdf_getTableTextWidth | ( | MR_Pdf * | _this, |
const MR_std_string * | text ) |
Generated from a method of class MR::Pdf
named getTableTextWidth
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object.
MRC_API float MR_Pdf_getTextWidth | ( | MR_Pdf * | _this, |
const MR_std_string * | text, | ||
const MR_Pdf_TextParams * | params ) |
return text width Generated from a method of class MR::Pdf
named getTextWidth
. Parameter _this
can not be null. It is a single object. Parameter text
can not be null. It is a single object. Parameter params
can not be null. It is a single object.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_AssignFromAnother | ( | MR_Pdf_ImageParams * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_ImageParams * | _other ) |
Generated from a method of class MR::Pdf::ImageParams
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_ConstructFrom | ( | MR_Vector2f | size, |
const char * | caption, | ||
const char * | caption_end, | ||
MR_Pdf_ImageParams_UniformScale | uniformScale, | ||
MR_Pdf_ImageParams_AlignmentVertical | alignmentVertical, | ||
MR_Pdf_AlignmentHorizontal | alignmentHorizontal ) |
Constructs MR::Pdf::ImageParams
elementwise. Parameter caption
can not be null. If caption_end
is null, then caption
is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_ImageParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_ImageParams * | _other ) |
Generated from a constructor of class MR::Pdf::ImageParams
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_ImageParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_ImageParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_ImageParams_DestroyArray()
. Use MR_Pdf_ImageParams_OffsetMutablePtr()
and MR_Pdf_ImageParams_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_ImageParams_Destroy | ( | const MR_Pdf_ImageParams * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_ImageParams
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_ImageParams_DestroyArray | ( | const MR_Pdf_ImageParams * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_ImageParams
. Does nothing if the pointer is null.
MRC_API const MR_Pdf_AlignmentHorizontal * MR_Pdf_ImageParams_Get_alignmentHorizontal | ( | const MR_Pdf_ImageParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::ImageParams
named alignmentHorizontal
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Pdf_ImageParams_AlignmentVertical * MR_Pdf_ImageParams_Get_alignmentVertical | ( | const MR_Pdf_ImageParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::ImageParams
named alignmentVertical
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_string * MR_Pdf_ImageParams_Get_caption | ( | const MR_Pdf_ImageParams * | _this | ) |
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
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Vector2f * MR_Pdf_ImageParams_Get_size | ( | const MR_Pdf_ImageParams * | _this | ) |
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
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Pdf_ImageParams_UniformScale * MR_Pdf_ImageParams_Get_uniformScale | ( | const MR_Pdf_ImageParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::ImageParams
named uniformScale
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_AlignmentHorizontal * MR_Pdf_ImageParams_GetMutable_alignmentHorizontal | ( | MR_Pdf_ImageParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams
named alignmentHorizontal
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_ImageParams_AlignmentVertical * MR_Pdf_ImageParams_GetMutable_alignmentVertical | ( | MR_Pdf_ImageParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams
named alignmentVertical
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_string * MR_Pdf_ImageParams_GetMutable_caption | ( | MR_Pdf_ImageParams * | _this | ) |
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
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Vector2f * MR_Pdf_ImageParams_GetMutable_size | ( | MR_Pdf_ImageParams * | _this | ) |
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
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_ImageParams_UniformScale * MR_Pdf_ImageParams_GetMutable_uniformScale | ( | MR_Pdf_ImageParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::ImageParams
named uniformScale
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_OffsetMutablePtr | ( | MR_Pdf_ImageParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_ImageParams * MR_Pdf_ImageParams_OffsetPtr | ( | const MR_Pdf_ImageParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_ImageParams_Set_alignmentHorizontal | ( | MR_Pdf_ImageParams * | _this, |
MR_Pdf_AlignmentHorizontal | value ) |
Modifies a member variable of class MR::Pdf::ImageParams
named alignmentHorizontal
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_ImageParams_Set_alignmentVertical | ( | MR_Pdf_ImageParams * | _this, |
MR_Pdf_ImageParams_AlignmentVertical | value ) |
Modifies a member variable of class MR::Pdf::ImageParams
named alignmentVertical
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_ImageParams_Set_caption | ( | MR_Pdf_ImageParams * | _this, |
const char * | value, | ||
const char * | value_end ) |
caption if not empty - add caption under marks (if exist) or image. Modifies a member variable of class MR::Pdf::ImageParams
named caption
. Parameter _this
can not be null. It is a single object. Parameter value
can not be null. If value_end
is null, then value
is assumed to be null-terminated.
MRC_API void MR_Pdf_ImageParams_Set_size | ( | MR_Pdf_ImageParams * | _this, |
MR_Vector2f | value ) |
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
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_ImageParams_Set_uniformScale | ( | MR_Pdf_ImageParams * | _this, |
MR_Pdf_ImageParams_UniformScale | value ) |
Modifies a member variable of class MR::Pdf::ImageParams
named uniformScale
. Parameter _this
can not be null. It is a single object.
Add new pageand move cursor on it Generated from a method of class MR::Pdf
named newPage
. Parameter _this
can not be null. It is a single object.
Generated from a method of class MR::Pdf
named newTable
. Parameter _this
can not be null. It is a single object.
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_AssignFromAnother | ( | MR_Pdf_PaletteRowStats * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_PaletteRowStats * | _other ) |
Generated from a method of class MR::Pdf::PaletteRowStats
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_ConstructFrom | ( | MR_Color | color, |
const char * | rangeMin, | ||
const char * | rangeMin_end, | ||
const char * | rangeMax, | ||
const char * | rangeMax_end, | ||
const char * | percent, | ||
const char * | percent_end ) |
Constructs MR::Pdf::PaletteRowStats
elementwise. Parameter rangeMin
can not be null. If rangeMin_end
is null, then rangeMin
is assumed to be null-terminated. Parameter rangeMax
can not be null. If rangeMax_end
is null, then rangeMax
is assumed to be null-terminated. Parameter percent
can not be null. If percent_end
is null, then percent
is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_PaletteRowStats_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_PaletteRowStats * | _other ) |
Generated from a constructor of class MR::Pdf::PaletteRowStats
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_PaletteRowStats_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_PaletteRowStats_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_PaletteRowStats_DestroyArray()
. Use MR_Pdf_PaletteRowStats_OffsetMutablePtr()
and MR_Pdf_PaletteRowStats_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_PaletteRowStats_Destroy | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_PaletteRowStats
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_PaletteRowStats_DestroyArray | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_PaletteRowStats
. Does nothing if the pointer is null.
MRC_API const MR_Color * MR_Pdf_PaletteRowStats_Get_color | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::PaletteRowStats
named color
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_percent | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::PaletteRowStats
named percent
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_rangeMax | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::PaletteRowStats
named rangeMax
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_rangeMin | ( | const MR_Pdf_PaletteRowStats * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::PaletteRowStats
named rangeMin
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Color * MR_Pdf_PaletteRowStats_GetMutable_color | ( | MR_Pdf_PaletteRowStats * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::PaletteRowStats
named color
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_percent | ( | MR_Pdf_PaletteRowStats * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::PaletteRowStats
named percent
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_rangeMax | ( | MR_Pdf_PaletteRowStats * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::PaletteRowStats
named rangeMax
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_rangeMin | ( | MR_Pdf_PaletteRowStats * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::PaletteRowStats
named rangeMin
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_OffsetMutablePtr | ( | MR_Pdf_PaletteRowStats * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_OffsetPtr | ( | const MR_Pdf_PaletteRowStats * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_PaletteRowStats_Set_color | ( | MR_Pdf_PaletteRowStats * | _this, |
MR_Color | value ) |
Modifies a member variable of class MR::Pdf::PaletteRowStats
named color
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_PaletteRowStats_Set_percent | ( | MR_Pdf_PaletteRowStats * | _this, |
const char * | value, | ||
const char * | value_end ) |
Modifies a member variable of class MR::Pdf::PaletteRowStats
named percent
. Parameter _this
can not be null. It is a single object. Parameter value
can not be null. If value_end
is null, then value
is assumed to be null-terminated.
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMax | ( | MR_Pdf_PaletteRowStats * | _this, |
const char * | value, | ||
const char * | value_end ) |
Modifies a member variable of class MR::Pdf::PaletteRowStats
named rangeMax
. Parameter _this
can not be null. It is a single object. Parameter value
can not be null. If value_end
is null, then value
is assumed to be null-terminated.
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMin | ( | MR_Pdf_PaletteRowStats * | _this, |
const char * | value, | ||
const char * | value_end ) |
Modifies a member variable of class MR::Pdf::PaletteRowStats
named rangeMin
. Parameter _this
can not be null. It is a single object. Parameter value
can not be null. If value_end
is null, then value
is assumed to be null-terminated.
MRC_API void MR_Pdf_saveToFile | ( | MR_Pdf * | _this, |
const char * | documentPath, | ||
const char * | documentPath_end ) |
Save document to file Generated from a method of class MR::Pdf
named saveToFile
. Parameter _this
can not be null. It is a single object. Parameter documentPath
is a UTF-8 encoded filesystem path.
MRC_API MR_expected_void_std_string * MR_Pdf_setColumnValuesFormat | ( | MR_Pdf * | _this, |
const MR_std_vector_std_string * | formats ) |
Generated from a method of class MR::Pdf
named setColumnValuesFormat
. Parameter _this
can not be null. It is a single object. Parameter formats
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.
Generated from a method of class MR::Pdf
named setCursorPosX
. Parameter _this
can not be null. It is a single object.
Generated from a method of class MR::Pdf
named setCursorPosY
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_setNewPageAction | ( | MR_Pdf * | _this, |
MR_PassBy | action_pass_by, | ||
MR_std_function_void_from_MR_Pdf_ref * | action ) |
set function to customize new page after creation Generated from a method of class MR::Pdf
named setNewPageAction
. Parameter _this
can not be null. It is a single object.
MRC_API MR_expected_void_std_string * MR_Pdf_setTableColumnWidths | ( | MR_Pdf * | _this, |
const MR_std_vector_float * | widths ) |
Generated from a method of class MR::Pdf
named setTableColumnWidths
. Parameter _this
can not be null. It is a single object. Parameter widths
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.
MRC_API void MR_Pdf_setTableCustomRule | ( | MR_Pdf * | _this, |
MR_PassBy | rule_pass_by, | ||
MR_std_function_MR_Pdf_CellCustomParams_from_int_int_const_std_string_ref * | rule ) |
Generated from a method of class MR::Pdf
named setTableCustomRule
. Parameter _this
can not be null. It is a single object.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_AssignFromAnother | ( | MR_Pdf_TextCellParams * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_TextCellParams * | _other ) |
Generated from a method of class MR::Pdf::TextCellParams
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_ConstructFrom | ( | MR_PassBy | textParams_pass_by, |
MR_Pdf_TextParams * | textParams, | ||
MR_Box2f | rect, | ||
MR_Color | colorBorder, | ||
MR_Color | colorBackground ) |
Constructs MR::Pdf::TextCellParams
elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextCellParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_TextCellParams * | _other ) |
Generated from a constructor of class MR::Pdf::TextCellParams
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextCellParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextCellParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_TextCellParams_DestroyArray()
. Use MR_Pdf_TextCellParams_OffsetMutablePtr()
and MR_Pdf_TextCellParams_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_TextCellParams_Destroy | ( | const MR_Pdf_TextCellParams * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_TextCellParams
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_TextCellParams_DestroyArray | ( | const MR_Pdf_TextCellParams * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_TextCellParams
. Does nothing if the pointer is null.
MRC_API const MR_Color * MR_Pdf_TextCellParams_Get_colorBackground | ( | const MR_Pdf_TextCellParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextCellParams
named colorBackground
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Color * MR_Pdf_TextCellParams_Get_colorBorder | ( | const MR_Pdf_TextCellParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextCellParams
named colorBorder
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Box2f * MR_Pdf_TextCellParams_Get_rect | ( | const MR_Pdf_TextCellParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextCellParams
named rect
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Pdf_TextParams * MR_Pdf_TextCellParams_Get_textParams | ( | const MR_Pdf_TextCellParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextCellParams
named textParams
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Color * MR_Pdf_TextCellParams_GetMutable_colorBackground | ( | MR_Pdf_TextCellParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams
named colorBackground
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Color * MR_Pdf_TextCellParams_GetMutable_colorBorder | ( | MR_Pdf_TextCellParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams
named colorBorder
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Box2f * MR_Pdf_TextCellParams_GetMutable_rect | ( | MR_Pdf_TextCellParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams
named rect
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextCellParams_GetMutable_textParams | ( | MR_Pdf_TextCellParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextCellParams
named textParams
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_OffsetMutablePtr | ( | MR_Pdf_TextCellParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_OffsetPtr | ( | const MR_Pdf_TextCellParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_TextCellParams_Set_colorBackground | ( | MR_Pdf_TextCellParams * | _this, |
MR_Color | value ) |
Modifies a member variable of class MR::Pdf::TextCellParams
named colorBackground
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextCellParams_Set_colorBorder | ( | MR_Pdf_TextCellParams * | _this, |
MR_Color | value ) |
Modifies a member variable of class MR::Pdf::TextCellParams
named colorBorder
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextCellParams_Set_rect | ( | MR_Pdf_TextCellParams * | _this, |
MR_Box2f | value ) |
Modifies a member variable of class MR::Pdf::TextCellParams
named rect
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextCellParams_Set_textParams | ( | MR_Pdf_TextCellParams * | _this, |
MR_PassBy | value_pass_by, | ||
MR_Pdf_TextParams * | value ) |
Modifies a member variable of class MR::Pdf::TextCellParams
named textParams
. Parameter _this
can not be null. It is a single object.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_AssignFromAnother | ( | MR_Pdf_TextParams * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_Pdf_TextParams * | _other ) |
Generated from a method of class MR::Pdf::TextParams
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_ConstructFrom | ( | MR_PassBy | fontName_pass_by, |
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | fontName, | ||
float | fontSize, | ||
MR_Pdf_AlignmentHorizontal | alignment, | ||
MR_Color | colorText, | ||
bool | underline ) |
Constructs MR::Pdf::TextParams
elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_Pdf_TextParams * | _other ) |
Generated from a constructor of class MR::Pdf::TextParams
. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Pdf_TextParams_Destroy()
to free it when you're done using it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Pdf_TextParams_DestroyArray()
. Use MR_Pdf_TextParams_OffsetMutablePtr()
and MR_Pdf_TextParams_OffsetPtr()
to access the array elements.
MRC_API void MR_Pdf_TextParams_Destroy | ( | const MR_Pdf_TextParams * | _this | ) |
Destroys a heap-allocated instance of MR_Pdf_TextParams
. Does nothing if the pointer is null.
MRC_API void MR_Pdf_TextParams_DestroyArray | ( | const MR_Pdf_TextParams * | _this | ) |
Destroys a heap-allocated array of MR_Pdf_TextParams
. Does nothing if the pointer is null.
MRC_API const MR_Pdf_AlignmentHorizontal * MR_Pdf_TextParams_Get_alignment | ( | const MR_Pdf_TextParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextParams
named alignment
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_Color * MR_Pdf_TextParams_Get_colorText | ( | const MR_Pdf_TextParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextParams
named colorText
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_Pdf_TextParams_Get_fontName | ( | const MR_Pdf_TextParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextParams
named fontName
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const float * MR_Pdf_TextParams_Get_fontSize | ( | const MR_Pdf_TextParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextParams
named fontSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const bool * MR_Pdf_TextParams_Get_underline | ( | const MR_Pdf_TextParams * | _this | ) |
Returns a pointer to a member variable of class MR::Pdf::TextParams
named underline
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_AlignmentHorizontal * MR_Pdf_TextParams_GetMutable_alignment | ( | MR_Pdf_TextParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextParams
named alignment
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Color * MR_Pdf_TextParams_GetMutable_colorText | ( | MR_Pdf_TextParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextParams
named colorText
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_Pdf_TextParams_GetMutable_fontName | ( | MR_Pdf_TextParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextParams
named fontName
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API float * MR_Pdf_TextParams_GetMutable_fontSize | ( | MR_Pdf_TextParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextParams
named fontSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API bool * MR_Pdf_TextParams_GetMutable_underline | ( | MR_Pdf_TextParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Pdf::TextParams
named underline
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_OffsetMutablePtr | ( | MR_Pdf_TextParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_Pdf_TextParams * MR_Pdf_TextParams_OffsetPtr | ( | const MR_Pdf_TextParams * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_Pdf_TextParams_Set_alignment | ( | MR_Pdf_TextParams * | _this, |
MR_Pdf_AlignmentHorizontal | value ) |
Modifies a member variable of class MR::Pdf::TextParams
named alignment
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextParams_Set_colorText | ( | MR_Pdf_TextParams * | _this, |
MR_Color | value ) |
Modifies a member variable of class MR::Pdf::TextParams
named colorText
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextParams_Set_fontName | ( | MR_Pdf_TextParams * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | value ) |
Modifies a member variable of class MR::Pdf::TextParams
named fontName
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextParams_Set_fontSize | ( | MR_Pdf_TextParams * | _this, |
float | value ) |
Modifies a member variable of class MR::Pdf::TextParams
named fontSize
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_Pdf_TextParams_Set_underline | ( | MR_Pdf_TextParams * | _this, |
bool | value ) |
Modifies a member variable of class MR::Pdf::TextParams
named underline
. Parameter _this
can not be null. It is a single object.
MRC_API MR_PdfParameters * MR_PdfParameters_AssignFromAnother | ( | MR_PdfParameters * | _this, |
MR_PassBy | _other_pass_by, | ||
MR_PdfParameters * | _other ) |
Generated from a method of class MR::PdfParameters
named operator=
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_PdfParameters * MR_PdfParameters_ConstructFrom | ( | float | titleSize, |
float | textSize, | ||
MR_PassBy | defaultFont_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | defaultFont, | ||
MR_PassBy | defaultFontBold_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | defaultFontBold, | ||
MR_PassBy | tableFont_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | tableFont, | ||
MR_PassBy | tableFontBold_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | tableFontBold ) |
Constructs MR::PdfParameters
elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_PdfParameters_Destroy()
to free it when you're done using it.
MRC_API MR_PdfParameters * MR_PdfParameters_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
MR_PdfParameters * | _other ) |
Generated from a constructor of class MR::PdfParameters
. Never returns null. Returns an instance allocated on the heap! Must call MR_PdfParameters_Destroy()
to free it when you're done using it.
MRC_API MR_PdfParameters * MR_PdfParameters_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PdfParameters_Destroy()
to free it when you're done using it.
MRC_API MR_PdfParameters * MR_PdfParameters_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_PdfParameters_DestroyArray()
. Use MR_PdfParameters_OffsetMutablePtr()
and MR_PdfParameters_OffsetPtr()
to access the array elements.
MRC_API void MR_PdfParameters_Destroy | ( | const MR_PdfParameters * | _this | ) |
Destroys a heap-allocated instance of MR_PdfParameters
. Does nothing if the pointer is null.
MRC_API void MR_PdfParameters_DestroyArray | ( | const MR_PdfParameters * | _this | ) |
Destroys a heap-allocated array of MR_PdfParameters
. Does nothing if the pointer is null.
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_defaultFont | ( | const MR_PdfParameters * | _this | ) |
Font name.
Returns a pointer to a member variable of class MR::PdfParameters
named defaultFont
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_defaultFontBold | ( | const MR_PdfParameters * | _this | ) |
Returns a pointer to a member variable of class MR::PdfParameters
named defaultFontBold
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_tableFont | ( | const MR_PdfParameters * | _this | ) |
Font name for table (monospaced) Returns a pointer to a member variable of class MR::PdfParameters
named tableFont
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_tableFontBold | ( | const MR_PdfParameters * | _this | ) |
Returns a pointer to a member variable of class MR::PdfParameters
named tableFontBold
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const float * MR_PdfParameters_Get_textSize | ( | const MR_PdfParameters * | _this | ) |
Returns a pointer to a member variable of class MR::PdfParameters
named textSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const float * MR_PdfParameters_Get_titleSize | ( | const MR_PdfParameters * | _this | ) |
Returns a pointer to a member variable of class MR::PdfParameters
named titleSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_defaultFont | ( | MR_PdfParameters * | _this | ) |
Font name.
Returns a mutable pointer to a member variable of class MR::PdfParameters
named defaultFont
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_defaultFontBold | ( | MR_PdfParameters * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PdfParameters
named defaultFontBold
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_tableFont | ( | MR_PdfParameters * | _this | ) |
Font name for table (monospaced) Returns a mutable pointer to a member variable of class MR::PdfParameters
named tableFont
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_tableFontBold | ( | MR_PdfParameters * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PdfParameters
named tableFontBold
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API float * MR_PdfParameters_GetMutable_textSize | ( | MR_PdfParameters * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PdfParameters
named textSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API float * MR_PdfParameters_GetMutable_titleSize | ( | MR_PdfParameters * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PdfParameters
named titleSize
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API MR_PdfParameters * MR_PdfParameters_OffsetMutablePtr | ( | MR_PdfParameters * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API const MR_PdfParameters * MR_PdfParameters_OffsetPtr | ( | const MR_PdfParameters * | ptr, |
ptrdiff_t | i ) |
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
MRC_API void MR_PdfParameters_Set_defaultFont | ( | MR_PdfParameters * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | value ) |
Font name.
Modifies a member variable of class MR::PdfParameters
named defaultFont
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_PdfParameters_Set_defaultFontBold | ( | MR_PdfParameters * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | value ) |
Modifies a member variable of class MR::PdfParameters
named defaultFontBold
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_PdfParameters_Set_tableFont | ( | MR_PdfParameters * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | value ) |
Font name for table (monospaced) Modifies a member variable of class MR::PdfParameters
named tableFont
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_PdfParameters_Set_tableFontBold | ( | MR_PdfParameters * | _this, |
MR_PassBy | value_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | value ) |
Modifies a member variable of class MR::PdfParameters
named tableFontBold
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_PdfParameters_Set_textSize | ( | MR_PdfParameters * | _this, |
float | value ) |
Modifies a member variable of class MR::PdfParameters
named textSize
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_PdfParameters_Set_titleSize | ( | MR_PdfParameters * | _this, |
float | value ) |
Modifies a member variable of class MR::PdfParameters
named titleSize
. Parameter _this
can not be null. It is a single object.