MeshLib C Docs
Loading...
Searching...
No Matches
MRPdf.h File Reference
#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.

Typedefs

typedef struct MR_Image MR_Image
 
typedef struct MR_expected_void_std_string MR_expected_void_std_string
 
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_function_void_from_MR_Pdf_ref MR_std_function_void_from_MR_Pdf_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_MR_PdfBuildinFont_std_filesystem_path MR_std_variant_MR_PdfBuildinFont_std_filesystem_path
 
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_vector_MR_Pdf_Cell MR_std_vector_MR_Pdf_Cell
 
typedef struct MR_std_vector_MR_Pdf_PaletteRowStats MR_std_vector_MR_Pdf_PaletteRowStats
 
typedef struct MR_std_vector_float MR_std_vector_float
 
typedef struct MR_std_vector_std_pair_std_string_float MR_std_vector_std_pair_std_string_float
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef enum MR_PdfBuildinFont MR_PdfBuildinFont
 
typedef struct MR_PdfParameters MR_PdfParameters
 Parameters of document style.
 
typedef struct MR_Pdf MR_Pdf
 Generated from class MR::Pdf.
 
typedef enum MR_Pdf_AlignmentHorizontal MR_Pdf_AlignmentHorizontal
 
typedef struct MR_Pdf_TextParams MR_Pdf_TextParams
 Generated from class MR::Pdf::TextParams.
 
typedef struct MR_Pdf_PaletteRowStats MR_Pdf_PaletteRowStats
 Generated from class MR::Pdf::PaletteRowStats.
 
typedef struct MR_Pdf_ImageParams MR_Pdf_ImageParams
 
typedef enum MR_Pdf_ImageParams_UniformScale MR_Pdf_ImageParams_UniformScale
 set height to keep same scale as width scale
 
typedef enum MR_Pdf_ImageParams_AlignmentVertical MR_Pdf_ImageParams_AlignmentVertical
 
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_TextCellParams MR_Pdf_TextCellParams
 Generated from class MR::Pdf::TextCellParams.
 

Enumerations

enum  MR_PdfBuildinFont {
  MR_PdfBuildinFont_Courier = 0 , MR_PdfBuildinFont_CourierBold = 1 , MR_PdfBuildinFont_CourierOblique = 2 , MR_PdfBuildinFont_CourierBoldOblique = 3 ,
  MR_PdfBuildinFont_Helvetica = 4 , MR_PdfBuildinFont_HelveticaBold = 5 , MR_PdfBuildinFont_HelveticaOblique = 6 , MR_PdfBuildinFont_HelveticaBoldOblique = 7 ,
  MR_PdfBuildinFont_TimesRoman = 8 , MR_PdfBuildinFont_TimesBold = 9 , MR_PdfBuildinFont_TimesItalic = 10 , MR_PdfBuildinFont_TimesBoldItalic = 11 ,
  MR_PdfBuildinFont_Symbol = 12 , MR_PdfBuildinFont_ZapfDingbats = 13 , MR_PdfBuildinFont_Count = 14
}
 
enum  MR_Pdf_AlignmentHorizontal { MR_Pdf_AlignmentHorizontal_Left = 0 , MR_Pdf_AlignmentHorizontal_Center = 1 , MR_Pdf_AlignmentHorizontal_Right = 2 }
 
enum  MR_Pdf_ImageParams_UniformScale { MR_Pdf_ImageParams_UniformScale_None = 0 , MR_Pdf_ImageParams_UniformScale_FromWidth = 1 , MR_Pdf_ImageParams_UniformScale_FromHeight = 2 , MR_Pdf_ImageParams_UniformScale_Auto = 3 }
 set height to keep same scale as width scale More...
 
enum  MR_Pdf_ImageParams_AlignmentVertical { MR_Pdf_ImageParams_AlignmentVertical_Top = 0 , MR_Pdf_ImageParams_AlignmentVertical_Center = 1 , MR_Pdf_ImageParams_AlignmentVertical_Bottom = 2 }
 

Functions

MRC_API const float * MR_PdfParameters_Get_titleSize (const MR_PdfParameters *_this)
 
MRC_API void MR_PdfParameters_Set_titleSize (MR_PdfParameters *_this, float value)
 
MRC_API float * MR_PdfParameters_GetMutable_titleSize (MR_PdfParameters *_this)
 
MRC_API const float * MR_PdfParameters_Get_textSize (const MR_PdfParameters *_this)
 
MRC_API void MR_PdfParameters_Set_textSize (MR_PdfParameters *_this, float value)
 
MRC_API float * MR_PdfParameters_GetMutable_textSize (MR_PdfParameters *_this)
 
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_Get_defaultFont (const MR_PdfParameters *_this)
 Font name.
 
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.
 
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_GetMutable_defaultFont (MR_PdfParameters *_this)
 Font name.
 
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_Get_defaultFontBold (const MR_PdfParameters *_this)
 
MRC_API void MR_PdfParameters_Set_defaultFontBold (MR_PdfParameters *_this, MR_PassBy value_pass_by, MR_std_variant_MR_PdfBuildinFont_std_filesystem_path *value)
 
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_GetMutable_defaultFontBold (MR_PdfParameters *_this)
 
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_Get_tableFont (const MR_PdfParameters *_this)
 
MRC_API void MR_PdfParameters_Set_tableFont (MR_PdfParameters *_this, MR_PassBy value_pass_by, MR_std_variant_MR_PdfBuildinFont_std_filesystem_path *value)
 
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_GetMutable_tableFont (MR_PdfParameters *_this)
 
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_Get_tableFontBold (const MR_PdfParameters *_this)
 
MRC_API void MR_PdfParameters_Set_tableFontBold (MR_PdfParameters *_this, MR_PassBy value_pass_by, MR_std_variant_MR_PdfBuildinFont_std_filesystem_path *value)
 
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_PdfParameters_GetMutable_tableFontBold (MR_PdfParameters *_this)
 
MRC_API MR_PdfParametersMR_PdfParameters_DefaultConstruct (void)
 
MRC_API MR_PdfParametersMR_PdfParameters_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_PdfParametersMR_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)
 
MRC_API const MR_PdfParametersMR_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 MR_PdfParametersMR_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 MR_PdfParametersMR_PdfParameters_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PdfParameters *_other)
 
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 MR_PdfParametersMR_PdfParameters_AssignFromAnother (MR_PdfParameters *_this, MR_PassBy _other_pass_by, MR_PdfParameters *_other)
 
MRC_API MR_PdfMR_Pdf_Construct (const MR_PdfParameters *params)
 
MRC_API MR_PdfMR_Pdf_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_PdfMR_Pdf_OffsetPtr (const MR_Pdf *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 MR_PdfMR_Pdf_OffsetMutablePtr (MR_Pdf *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 MR_PdfMR_Pdf_ConstructFromAnother (MR_PassBy other_pass_by, MR_Pdf *other)
 
MRC_API void MR_Pdf_Destroy (const MR_Pdf *_this)
 Destroys a heap-allocated instance of MR_Pdf. Does nothing if the pointer is null.
 
MRC_API void MR_Pdf_DestroyArray (const MR_Pdf *_this)
 Destroys a heap-allocated array of MR_Pdf. Does nothing if the pointer is null.
 
MRC_API bool MR_Pdf_ConvertTo_bool (const MR_Pdf *_this)
 
MRC_API MR_PdfMR_Pdf_AssignFromAnother (MR_Pdf *_this, MR_PassBy other_pass_by, MR_Pdf *other)
 
MRC_API void MR_Pdf_addText_bool (MR_Pdf *_this, const MR_std_string *text, const bool *isTitle)
 
MRC_API void MR_Pdf_addText_MR_Pdf_TextParams (MR_Pdf *_this, const MR_std_string *text, const MR_Pdf_TextParams *params)
 
MRC_API float MR_Pdf_getTextWidth (MR_Pdf *_this, const MR_std_string *text, const MR_Pdf_TextParams *params)
 
MRC_API void MR_Pdf_addTable (MR_Pdf *_this, const MR_std_vector_std_pair_std_string_float *table)
 
MRC_API void MR_Pdf_addPaletteStatsTable (MR_Pdf *_this, const MR_std_vector_MR_Pdf_PaletteRowStats *paletteStats)
 
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.
 
MRC_API void MR_Pdf_addImage (MR_Pdf *_this, const MR_Image *image, const MR_Pdf_ImageParams *params)
 
MRC_API void MR_Pdf_newPage (MR_Pdf *_this)
 
MRC_API void MR_Pdf_setNewPageAction (MR_Pdf *_this, MR_PassBy action_pass_by, MR_std_function_void_from_MR_Pdf_ref *action)
 
MRC_API void MR_Pdf_saveToFile (MR_Pdf *_this, const char *documentPath, const char *documentPath_end)
 
MRC_API void MR_Pdf_setCursorPosX (MR_Pdf *_this, float posX)
 
MRC_API void MR_Pdf_setCursorPosY (MR_Pdf *_this, float posY)
 
MRC_API float MR_Pdf_getCursorPosX (const MR_Pdf *_this)
 
MRC_API float MR_Pdf_getCursorPosY (const MR_Pdf *_this)
 
MRC_API MR_Vector2f MR_Pdf_getPageSize (const MR_Pdf *_this)
 
MRC_API MR_Box2f MR_Pdf_getPageWorkArea (const MR_Pdf *_this)
 
MRC_API void MR_Pdf_newTable (MR_Pdf *_this, int columnCount)
 
MRC_API MR_expected_void_std_stringMR_Pdf_setTableColumnWidths (MR_Pdf *_this, const MR_std_vector_float *widths)
 
MRC_API MR_expected_void_std_stringMR_Pdf_addTableTitles (MR_Pdf *_this, const MR_std_vector_std_string *titles)
 
MRC_API MR_expected_void_std_stringMR_Pdf_setColumnValuesFormat (MR_Pdf *_this, const MR_std_vector_std_string *formats)
 
MRC_API MR_expected_void_std_stringMR_Pdf_addRow (MR_Pdf *_this, const MR_std_vector_MR_Pdf_Cell *cells)
 
MRC_API float MR_Pdf_getTableTextWidth (MR_Pdf *_this, const MR_std_string *text)
 
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)
 
MRC_API void MR_Pdf_drawTextInRect (MR_Pdf *_this, const MR_std_string *text, const MR_Box2f *rect, const MR_Pdf_TextParams *params)
 
MRC_API void MR_Pdf_drawTextCell (MR_Pdf *_this, const MR_std_string *text, const MR_Pdf_TextCellParams *params)
 
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_Pdf_TextParams_Get_fontName (const MR_Pdf_TextParams *_this)
 
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)
 
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_pathMR_Pdf_TextParams_GetMutable_fontName (MR_Pdf_TextParams *_this)
 
MRC_API const float * MR_Pdf_TextParams_Get_fontSize (const MR_Pdf_TextParams *_this)
 
MRC_API void MR_Pdf_TextParams_Set_fontSize (MR_Pdf_TextParams *_this, float value)
 
MRC_API float * MR_Pdf_TextParams_GetMutable_fontSize (MR_Pdf_TextParams *_this)
 
MRC_API const MR_Pdf_AlignmentHorizontalMR_Pdf_TextParams_Get_alignment (const MR_Pdf_TextParams *_this)
 
MRC_API void MR_Pdf_TextParams_Set_alignment (MR_Pdf_TextParams *_this, MR_Pdf_AlignmentHorizontal value)
 
MRC_API MR_Pdf_AlignmentHorizontalMR_Pdf_TextParams_GetMutable_alignment (MR_Pdf_TextParams *_this)
 
MRC_API const MR_ColorMR_Pdf_TextParams_Get_colorText (const MR_Pdf_TextParams *_this)
 
MRC_API void MR_Pdf_TextParams_Set_colorText (MR_Pdf_TextParams *_this, MR_Color value)
 
MRC_API MR_ColorMR_Pdf_TextParams_GetMutable_colorText (MR_Pdf_TextParams *_this)
 
MRC_API const bool * MR_Pdf_TextParams_Get_underline (const MR_Pdf_TextParams *_this)
 
MRC_API void MR_Pdf_TextParams_Set_underline (MR_Pdf_TextParams *_this, bool value)
 
MRC_API bool * MR_Pdf_TextParams_GetMutable_underline (MR_Pdf_TextParams *_this)
 
MRC_API MR_Pdf_TextParamsMR_Pdf_TextParams_DefaultConstruct (void)
 
MRC_API MR_Pdf_TextParamsMR_Pdf_TextParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Pdf_TextParamsMR_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)
 
MRC_API const MR_Pdf_TextParamsMR_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 MR_Pdf_TextParamsMR_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 MR_Pdf_TextParamsMR_Pdf_TextParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_TextParams *_other)
 
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 MR_Pdf_TextParamsMR_Pdf_TextParams_AssignFromAnother (MR_Pdf_TextParams *_this, MR_PassBy _other_pass_by, MR_Pdf_TextParams *_other)
 
MRC_API const MR_ColorMR_Pdf_PaletteRowStats_Get_color (const MR_Pdf_PaletteRowStats *_this)
 
MRC_API void MR_Pdf_PaletteRowStats_Set_color (MR_Pdf_PaletteRowStats *_this, MR_Color value)
 
MRC_API MR_ColorMR_Pdf_PaletteRowStats_GetMutable_color (MR_Pdf_PaletteRowStats *_this)
 
MRC_API const MR_std_stringMR_Pdf_PaletteRowStats_Get_rangeMin (const MR_Pdf_PaletteRowStats *_this)
 
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMin (MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
 
MRC_API MR_std_stringMR_Pdf_PaletteRowStats_GetMutable_rangeMin (MR_Pdf_PaletteRowStats *_this)
 
MRC_API const MR_std_stringMR_Pdf_PaletteRowStats_Get_rangeMax (const MR_Pdf_PaletteRowStats *_this)
 
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMax (MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
 
MRC_API MR_std_stringMR_Pdf_PaletteRowStats_GetMutable_rangeMax (MR_Pdf_PaletteRowStats *_this)
 
MRC_API const MR_std_stringMR_Pdf_PaletteRowStats_Get_percent (const MR_Pdf_PaletteRowStats *_this)
 
MRC_API void MR_Pdf_PaletteRowStats_Set_percent (MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
 
MRC_API MR_std_stringMR_Pdf_PaletteRowStats_GetMutable_percent (MR_Pdf_PaletteRowStats *_this)
 
MRC_API MR_Pdf_PaletteRowStatsMR_Pdf_PaletteRowStats_DefaultConstruct (void)
 
MRC_API MR_Pdf_PaletteRowStatsMR_Pdf_PaletteRowStats_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Pdf_PaletteRowStatsMR_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)
 
MRC_API const MR_Pdf_PaletteRowStatsMR_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 MR_Pdf_PaletteRowStatsMR_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 MR_Pdf_PaletteRowStatsMR_Pdf_PaletteRowStats_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_PaletteRowStats *_other)
 
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 MR_Pdf_PaletteRowStatsMR_Pdf_PaletteRowStats_AssignFromAnother (MR_Pdf_PaletteRowStats *_this, MR_PassBy _other_pass_by, MR_Pdf_PaletteRowStats *_other)
 
MRC_API const MR_Vector2fMR_Pdf_ImageParams_Get_size (const MR_Pdf_ImageParams *_this)
 
MRC_API void MR_Pdf_ImageParams_Set_size (MR_Pdf_ImageParams *_this, MR_Vector2f value)
 
MRC_API MR_Vector2fMR_Pdf_ImageParams_GetMutable_size (MR_Pdf_ImageParams *_this)
 
MRC_API const MR_std_stringMR_Pdf_ImageParams_Get_caption (const MR_Pdf_ImageParams *_this)
 
MRC_API void MR_Pdf_ImageParams_Set_caption (MR_Pdf_ImageParams *_this, const char *value, const char *value_end)
 
MRC_API MR_std_stringMR_Pdf_ImageParams_GetMutable_caption (MR_Pdf_ImageParams *_this)
 
MRC_API const MR_Pdf_ImageParams_UniformScaleMR_Pdf_ImageParams_Get_uniformScale (const MR_Pdf_ImageParams *_this)
 
MRC_API void MR_Pdf_ImageParams_Set_uniformScale (MR_Pdf_ImageParams *_this, MR_Pdf_ImageParams_UniformScale value)
 
MRC_API MR_Pdf_ImageParams_UniformScaleMR_Pdf_ImageParams_GetMutable_uniformScale (MR_Pdf_ImageParams *_this)
 
MRC_API const MR_Pdf_ImageParams_AlignmentVerticalMR_Pdf_ImageParams_Get_alignmentVertical (const MR_Pdf_ImageParams *_this)
 
MRC_API void MR_Pdf_ImageParams_Set_alignmentVertical (MR_Pdf_ImageParams *_this, MR_Pdf_ImageParams_AlignmentVertical value)
 
MRC_API MR_Pdf_ImageParams_AlignmentVerticalMR_Pdf_ImageParams_GetMutable_alignmentVertical (MR_Pdf_ImageParams *_this)
 
MRC_API const MR_Pdf_AlignmentHorizontalMR_Pdf_ImageParams_Get_alignmentHorizontal (const MR_Pdf_ImageParams *_this)
 
MRC_API void MR_Pdf_ImageParams_Set_alignmentHorizontal (MR_Pdf_ImageParams *_this, MR_Pdf_AlignmentHorizontal value)
 
MRC_API MR_Pdf_AlignmentHorizontalMR_Pdf_ImageParams_GetMutable_alignmentHorizontal (MR_Pdf_ImageParams *_this)
 
MRC_API MR_Pdf_ImageParamsMR_Pdf_ImageParams_DefaultConstruct (void)
 
MRC_API MR_Pdf_ImageParamsMR_Pdf_ImageParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Pdf_ImageParamsMR_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)
 
MRC_API const MR_Pdf_ImageParamsMR_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 MR_Pdf_ImageParamsMR_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 MR_Pdf_ImageParamsMR_Pdf_ImageParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_ImageParams *_other)
 
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 MR_Pdf_ImageParamsMR_Pdf_ImageParams_AssignFromAnother (MR_Pdf_ImageParams *_this, MR_PassBy _other_pass_by, MR_Pdf_ImageParams *_other)
 
MRC_API const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_Pdf_Cell_Get_data (const MR_Pdf_Cell *_this)
 
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)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_Pdf_Cell_GetMutable_data (MR_Pdf_Cell *_this)
 
MRC_API MR_Pdf_CellMR_Pdf_Cell_DefaultConstruct (void)
 
MRC_API MR_Pdf_CellMR_Pdf_Cell_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_Pdf_CellMR_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 MR_Pdf_CellMR_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 MR_Pdf_CellMR_Pdf_Cell_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_Cell *_other)
 
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_CellMR_Pdf_Cell_AssignFromAnother (MR_Pdf_Cell *_this, MR_PassBy _other_pass_by, MR_Pdf_Cell *_other)
 
MRC_API MR_std_stringMR_Pdf_Cell_toString (const MR_Pdf_Cell *_this, const MR_std_string *fmtStr)
 
MRC_API MR_Pdf_Cell_EmptyMR_Pdf_Cell_Empty_DefaultConstruct (void)
 
MRC_API MR_Pdf_Cell_EmptyMR_Pdf_Cell_Empty_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_Pdf_Cell_EmptyMR_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 MR_Pdf_Cell_EmptyMR_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 MR_Pdf_Cell_EmptyMR_Pdf_Cell_Empty_ConstructFromAnother (const MR_Pdf_Cell_Empty *_other)
 
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_EmptyMR_Pdf_Cell_Empty_AssignFromAnother (MR_Pdf_Cell_Empty *_this, const MR_Pdf_Cell_Empty *_other)
 
MRC_API const MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_Get_colorText (const MR_Pdf_CellCustomParams *_this)
 
MRC_API void MR_Pdf_CellCustomParams_Set_colorText (MR_Pdf_CellCustomParams *_this, const MR_Color *value)
 
MRC_API MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_GetMutable_colorText (MR_Pdf_CellCustomParams *_this)
 
MRC_API const MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_Get_colorCellBg (const MR_Pdf_CellCustomParams *_this)
 
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBg (MR_Pdf_CellCustomParams *_this, const MR_Color *value)
 
MRC_API MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_GetMutable_colorCellBg (MR_Pdf_CellCustomParams *_this)
 
MRC_API const MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_Get_colorCellBorder (const MR_Pdf_CellCustomParams *_this)
 
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBorder (MR_Pdf_CellCustomParams *_this, const MR_Color *value)
 
MRC_API MR_std_optional_MR_ColorMR_Pdf_CellCustomParams_GetMutable_colorCellBorder (MR_Pdf_CellCustomParams *_this)
 
MRC_API const MR_std_optional_std_stringMR_Pdf_CellCustomParams_Get_text (const MR_Pdf_CellCustomParams *_this)
 
MRC_API void MR_Pdf_CellCustomParams_Set_text (MR_Pdf_CellCustomParams *_this, const char *value, const char *value_end)
 
MRC_API MR_std_optional_std_stringMR_Pdf_CellCustomParams_GetMutable_text (MR_Pdf_CellCustomParams *_this)
 
MRC_API MR_Pdf_CellCustomParamsMR_Pdf_CellCustomParams_DefaultConstruct (void)
 
MRC_API MR_Pdf_CellCustomParamsMR_Pdf_CellCustomParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Pdf_CellCustomParamsMR_Pdf_CellCustomParams_ConstructFrom (const MR_Color *colorText, const MR_Color *colorCellBg, const MR_Color *colorCellBorder, const char *text, const char *text_end)
 
MRC_API const MR_Pdf_CellCustomParamsMR_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 MR_Pdf_CellCustomParamsMR_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 MR_Pdf_CellCustomParamsMR_Pdf_CellCustomParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_CellCustomParams *_other)
 
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 MR_Pdf_CellCustomParamsMR_Pdf_CellCustomParams_AssignFromAnother (MR_Pdf_CellCustomParams *_this, MR_PassBy _other_pass_by, MR_Pdf_CellCustomParams *_other)
 
MRC_API const MR_Pdf_TextParamsMR_Pdf_TextCellParams_Get_textParams (const MR_Pdf_TextCellParams *_this)
 
MRC_API void MR_Pdf_TextCellParams_Set_textParams (MR_Pdf_TextCellParams *_this, MR_PassBy value_pass_by, MR_Pdf_TextParams *value)
 
MRC_API MR_Pdf_TextParamsMR_Pdf_TextCellParams_GetMutable_textParams (MR_Pdf_TextCellParams *_this)
 
MRC_API const MR_Box2fMR_Pdf_TextCellParams_Get_rect (const MR_Pdf_TextCellParams *_this)
 
MRC_API void MR_Pdf_TextCellParams_Set_rect (MR_Pdf_TextCellParams *_this, MR_Box2f value)
 
MRC_API MR_Box2fMR_Pdf_TextCellParams_GetMutable_rect (MR_Pdf_TextCellParams *_this)
 
MRC_API const MR_ColorMR_Pdf_TextCellParams_Get_colorBorder (const MR_Pdf_TextCellParams *_this)
 
MRC_API void MR_Pdf_TextCellParams_Set_colorBorder (MR_Pdf_TextCellParams *_this, MR_Color value)
 
MRC_API MR_ColorMR_Pdf_TextCellParams_GetMutable_colorBorder (MR_Pdf_TextCellParams *_this)
 
MRC_API const MR_ColorMR_Pdf_TextCellParams_Get_colorBackground (const MR_Pdf_TextCellParams *_this)
 
MRC_API void MR_Pdf_TextCellParams_Set_colorBackground (MR_Pdf_TextCellParams *_this, MR_Color value)
 
MRC_API MR_ColorMR_Pdf_TextCellParams_GetMutable_colorBackground (MR_Pdf_TextCellParams *_this)
 
MRC_API MR_Pdf_TextCellParamsMR_Pdf_TextCellParams_DefaultConstruct (void)
 
MRC_API MR_Pdf_TextCellParamsMR_Pdf_TextCellParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Pdf_TextCellParamsMR_Pdf_TextCellParams_ConstructFrom (MR_PassBy textParams_pass_by, MR_Pdf_TextParams *textParams, MR_Box2f rect, MR_Color colorBorder, MR_Color colorBackground)
 
MRC_API const MR_Pdf_TextCellParamsMR_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 MR_Pdf_TextCellParamsMR_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 MR_Pdf_TextCellParamsMR_Pdf_TextCellParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Pdf_TextCellParams *_other)
 
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 MR_Pdf_TextCellParamsMR_Pdf_TextCellParams_AssignFromAnother (MR_Pdf_TextCellParams *_this, MR_PassBy _other_pass_by, MR_Pdf_TextCellParams *_other)
 

Typedef Documentation

◆ MR_expected_void_std_string

◆ MR_Image

typedef struct MR_Image MR_Image

◆ MR_Pdf

typedef struct MR_Pdf MR_Pdf

Generated from class MR::Pdf.

Class for simple creation pdf.

◆ MR_Pdf_AlignmentHorizontal

◆ MR_Pdf_Cell

typedef struct MR_Pdf_Cell MR_Pdf_Cell

Generated from class MR::Pdf::Cell.

◆ MR_Pdf_Cell_Empty

Generated from class MR::Pdf::Cell::Empty.

◆ MR_Pdf_CellCustomParams

◆ MR_Pdf_ImageParams

Parameters to adding image from file Generated from class MR::Pdf::ImageParams.

◆ MR_Pdf_ImageParams_AlignmentVertical

◆ MR_Pdf_ImageParams_UniformScale

set height to keep same scale as width scale

◆ MR_Pdf_PaletteRowStats

◆ MR_Pdf_TextCellParams

◆ MR_Pdf_TextParams

Generated from class MR::Pdf::TextParams.

◆ MR_PdfBuildinFont

Fonts included in libharu please note that using default font does not allow UTF-8 encoding

◆ MR_PdfParameters

Parameters of document style.

Generated from class MR::PdfParameters.

◆ MR_std_function_MR_Pdf_CellCustomParams_from_int_int_const_std_string_ref

◆ MR_std_function_void_from_MR_Pdf_ref

◆ MR_std_optional_MR_Color

◆ MR_std_optional_std_string

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty

◆ MR_std_variant_MR_PdfBuildinFont_std_filesystem_path

◆ MR_std_vector_float

◆ MR_std_vector_MR_Pdf_Cell

◆ MR_std_vector_MR_Pdf_PaletteRowStats

◆ MR_std_vector_std_pair_std_string_float

◆ MR_std_vector_std_string

Enumeration Type Documentation

◆ MR_Pdf_AlignmentHorizontal

Enumerator
MR_Pdf_AlignmentHorizontal_Left 
MR_Pdf_AlignmentHorizontal_Center 
MR_Pdf_AlignmentHorizontal_Right 

◆ MR_Pdf_ImageParams_AlignmentVertical

Enumerator
MR_Pdf_ImageParams_AlignmentVertical_Top 
MR_Pdf_ImageParams_AlignmentVertical_Center 
MR_Pdf_ImageParams_AlignmentVertical_Bottom 

◆ MR_Pdf_ImageParams_UniformScale

set height to keep same scale as width scale

Enumerator
MR_Pdf_ImageParams_UniformScale_None 
MR_Pdf_ImageParams_UniformScale_FromWidth 
MR_Pdf_ImageParams_UniformScale_FromHeight 
MR_Pdf_ImageParams_UniformScale_Auto 

◆ MR_PdfBuildinFont

Fonts included in libharu please note that using default font does not allow UTF-8 encoding

Enumerator
MR_PdfBuildinFont_Courier 
MR_PdfBuildinFont_CourierBold 
MR_PdfBuildinFont_CourierOblique 
MR_PdfBuildinFont_CourierBoldOblique 
MR_PdfBuildinFont_Helvetica 
MR_PdfBuildinFont_HelveticaBold 
MR_PdfBuildinFont_HelveticaOblique 
MR_PdfBuildinFont_HelveticaBoldOblique 
MR_PdfBuildinFont_TimesRoman 
MR_PdfBuildinFont_TimesBold 
MR_PdfBuildinFont_TimesItalic 
MR_PdfBuildinFont_TimesBoldItalic 
MR_PdfBuildinFont_Symbol 
MR_PdfBuildinFont_ZapfDingbats 
MR_PdfBuildinFont_Count 

Function Documentation

◆ MR_Pdf_addImage()

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.

◆ MR_Pdf_addImageFromFile()

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.

◆ MR_Pdf_addPaletteStatsTable()

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.

◆ MR_Pdf_addRow()

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.

◆ MR_Pdf_addTable()

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.

◆ MR_Pdf_addTableTitles()

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.

◆ MR_Pdf_addText_bool()

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.

◆ MR_Pdf_addText_MR_Pdf_TextParams()

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.

◆ MR_Pdf_AssignFromAnother()

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.

◆ MR_Pdf_Cell_AssignFromAnother()

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.

◆ MR_Pdf_Cell_ConstructFromAnother()

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.

◆ MR_Pdf_Cell_DefaultConstruct()

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.

◆ MR_Pdf_Cell_DefaultConstructArray()

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.

◆ MR_Pdf_Cell_Destroy()

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.

◆ MR_Pdf_Cell_DestroyArray()

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.

◆ MR_Pdf_Cell_Empty_AssignFromAnother()

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.

◆ MR_Pdf_Cell_Empty_ConstructFromAnother()

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.

◆ MR_Pdf_Cell_Empty_DefaultConstruct()

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.

◆ MR_Pdf_Cell_Empty_DefaultConstructArray()

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.

◆ MR_Pdf_Cell_Empty_Destroy()

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.

◆ MR_Pdf_Cell_Empty_DestroyArray()

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.

◆ MR_Pdf_Cell_Empty_OffsetMutablePtr()

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.

◆ MR_Pdf_Cell_Empty_OffsetPtr()

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.

◆ MR_Pdf_Cell_Get_data()

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.

◆ MR_Pdf_Cell_GetMutable_data()

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.

◆ MR_Pdf_Cell_OffsetMutablePtr()

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.

◆ MR_Pdf_Cell_OffsetPtr()

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.

◆ MR_Pdf_Cell_Set_data()

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.

◆ MR_Pdf_Cell_toString()

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.

◆ MR_Pdf_CellCustomParams_AssignFromAnother()

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.

◆ MR_Pdf_CellCustomParams_ConstructFrom()

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.

◆ MR_Pdf_CellCustomParams_ConstructFromAnother()

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.

◆ MR_Pdf_CellCustomParams_DefaultConstruct()

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.

◆ MR_Pdf_CellCustomParams_DefaultConstructArray()

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.

◆ MR_Pdf_CellCustomParams_Destroy()

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.

◆ MR_Pdf_CellCustomParams_DestroyArray()

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.

◆ MR_Pdf_CellCustomParams_Get_colorCellBg()

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.

◆ MR_Pdf_CellCustomParams_Get_colorCellBorder()

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.

◆ MR_Pdf_CellCustomParams_Get_colorText()

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.

◆ MR_Pdf_CellCustomParams_Get_text()

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.

◆ MR_Pdf_CellCustomParams_GetMutable_colorCellBg()

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.

◆ MR_Pdf_CellCustomParams_GetMutable_colorCellBorder()

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.

◆ MR_Pdf_CellCustomParams_GetMutable_colorText()

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.

◆ MR_Pdf_CellCustomParams_GetMutable_text()

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.

◆ MR_Pdf_CellCustomParams_OffsetMutablePtr()

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.

◆ MR_Pdf_CellCustomParams_OffsetPtr()

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.

◆ MR_Pdf_CellCustomParams_Set_colorCellBg()

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.

◆ MR_Pdf_CellCustomParams_Set_colorCellBorder()

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.

◆ MR_Pdf_CellCustomParams_Set_colorText()

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.

◆ MR_Pdf_CellCustomParams_Set_text()

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.

◆ MR_Pdf_Construct()

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.

◆ MR_Pdf_ConstructFromAnother()

MRC_API MR_Pdf * MR_Pdf_ConstructFromAnother ( MR_PassBy other_pass_by,
MR_Pdf * other )

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.

◆ MR_Pdf_ConvertTo_bool()

MRC_API bool MR_Pdf_ConvertTo_bool ( const MR_Pdf * _this)

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.

◆ MR_Pdf_DefaultConstructArray()

MRC_API MR_Pdf * MR_Pdf_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_DestroyArray(). Use MR_Pdf_OffsetMutablePtr() and MR_Pdf_OffsetPtr() to access the array elements.

◆ MR_Pdf_Destroy()

MRC_API void MR_Pdf_Destroy ( const MR_Pdf * _this)

Destroys a heap-allocated instance of MR_Pdf. Does nothing if the pointer is null.

◆ MR_Pdf_DestroyArray()

MRC_API void MR_Pdf_DestroyArray ( const MR_Pdf * _this)

Destroys a heap-allocated array of MR_Pdf. Does nothing if the pointer is null.

◆ MR_Pdf_drawTextCell()

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.

◆ MR_Pdf_drawTextInRect()

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.

◆ MR_Pdf_getCursorPosX()

MRC_API float MR_Pdf_getCursorPosX ( const MR_Pdf * _this)

Generated from a method of class MR::Pdf named getCursorPosX. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_getCursorPosY()

MRC_API float MR_Pdf_getCursorPosY ( const MR_Pdf * _this)

Generated from a method of class MR::Pdf named getCursorPosY. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_getPageSize()

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.

◆ MR_Pdf_getPageWorkArea()

MRC_API MR_Box2f MR_Pdf_getPageWorkArea ( const MR_Pdf * _this)

Generated from a method of class MR::Pdf named getPageWorkArea. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_getTableTextWidth()

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.

◆ MR_Pdf_getTextWidth()

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.

◆ MR_Pdf_ImageParams_AssignFromAnother()

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.

◆ MR_Pdf_ImageParams_ConstructFrom()

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.

◆ MR_Pdf_ImageParams_ConstructFromAnother()

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.

◆ MR_Pdf_ImageParams_DefaultConstruct()

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.

◆ MR_Pdf_ImageParams_DefaultConstructArray()

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.

◆ MR_Pdf_ImageParams_Destroy()

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.

◆ MR_Pdf_ImageParams_DestroyArray()

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.

◆ MR_Pdf_ImageParams_Get_alignmentHorizontal()

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.

◆ MR_Pdf_ImageParams_Get_alignmentVertical()

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.

◆ MR_Pdf_ImageParams_Get_caption()

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.

◆ MR_Pdf_ImageParams_Get_size()

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.

◆ MR_Pdf_ImageParams_Get_uniformScale()

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.

◆ MR_Pdf_ImageParams_GetMutable_alignmentHorizontal()

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.

◆ MR_Pdf_ImageParams_GetMutable_alignmentVertical()

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.

◆ MR_Pdf_ImageParams_GetMutable_caption()

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.

◆ MR_Pdf_ImageParams_GetMutable_size()

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.

◆ MR_Pdf_ImageParams_GetMutable_uniformScale()

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.

◆ MR_Pdf_ImageParams_OffsetMutablePtr()

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.

◆ MR_Pdf_ImageParams_OffsetPtr()

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.

◆ MR_Pdf_ImageParams_Set_alignmentHorizontal()

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.

◆ MR_Pdf_ImageParams_Set_alignmentVertical()

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.

◆ MR_Pdf_ImageParams_Set_caption()

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.

◆ MR_Pdf_ImageParams_Set_size()

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.

◆ MR_Pdf_ImageParams_Set_uniformScale()

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.

◆ MR_Pdf_newPage()

MRC_API void MR_Pdf_newPage ( MR_Pdf * _this)

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.

◆ MR_Pdf_newTable()

MRC_API void MR_Pdf_newTable ( MR_Pdf * _this,
int columnCount )

Generated from a method of class MR::Pdf named newTable. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_OffsetMutablePtr()

MRC_API MR_Pdf * MR_Pdf_OffsetMutablePtr ( MR_Pdf * 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.

◆ MR_Pdf_OffsetPtr()

MRC_API const MR_Pdf * MR_Pdf_OffsetPtr ( const MR_Pdf * 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.

◆ MR_Pdf_PaletteRowStats_AssignFromAnother()

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.

◆ MR_Pdf_PaletteRowStats_ConstructFrom()

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.

◆ MR_Pdf_PaletteRowStats_ConstructFromAnother()

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.

◆ MR_Pdf_PaletteRowStats_DefaultConstruct()

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.

◆ MR_Pdf_PaletteRowStats_DefaultConstructArray()

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.

◆ MR_Pdf_PaletteRowStats_Destroy()

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.

◆ MR_Pdf_PaletteRowStats_DestroyArray()

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.

◆ MR_Pdf_PaletteRowStats_Get_color()

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.

◆ MR_Pdf_PaletteRowStats_Get_percent()

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.

◆ MR_Pdf_PaletteRowStats_Get_rangeMax()

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.

◆ MR_Pdf_PaletteRowStats_Get_rangeMin()

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.

◆ MR_Pdf_PaletteRowStats_GetMutable_color()

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.

◆ MR_Pdf_PaletteRowStats_GetMutable_percent()

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.

◆ MR_Pdf_PaletteRowStats_GetMutable_rangeMax()

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.

◆ MR_Pdf_PaletteRowStats_GetMutable_rangeMin()

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.

◆ MR_Pdf_PaletteRowStats_OffsetMutablePtr()

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.

◆ MR_Pdf_PaletteRowStats_OffsetPtr()

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.

◆ MR_Pdf_PaletteRowStats_Set_color()

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.

◆ MR_Pdf_PaletteRowStats_Set_percent()

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.

◆ MR_Pdf_PaletteRowStats_Set_rangeMax()

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.

◆ MR_Pdf_PaletteRowStats_Set_rangeMin()

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.

◆ MR_Pdf_saveToFile()

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.

◆ MR_Pdf_setColumnValuesFormat()

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.

◆ MR_Pdf_setCursorPosX()

MRC_API void MR_Pdf_setCursorPosX ( MR_Pdf * _this,
float posX )

Generated from a method of class MR::Pdf named setCursorPosX. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_setCursorPosY()

MRC_API void MR_Pdf_setCursorPosY ( MR_Pdf * _this,
float posY )

Generated from a method of class MR::Pdf named setCursorPosY. Parameter _this can not be null. It is a single object.

◆ MR_Pdf_setNewPageAction()

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.

◆ MR_Pdf_setTableColumnWidths()

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.

◆ MR_Pdf_setTableCustomRule()

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.

◆ MR_Pdf_TextCellParams_AssignFromAnother()

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.

◆ MR_Pdf_TextCellParams_ConstructFrom()

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.

◆ MR_Pdf_TextCellParams_ConstructFromAnother()

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.

◆ MR_Pdf_TextCellParams_DefaultConstruct()

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.

◆ MR_Pdf_TextCellParams_DefaultConstructArray()

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.

◆ MR_Pdf_TextCellParams_Destroy()

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.

◆ MR_Pdf_TextCellParams_DestroyArray()

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.

◆ MR_Pdf_TextCellParams_Get_colorBackground()

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.

◆ MR_Pdf_TextCellParams_Get_colorBorder()

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.

◆ MR_Pdf_TextCellParams_Get_rect()

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.

◆ MR_Pdf_TextCellParams_Get_textParams()

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.

◆ MR_Pdf_TextCellParams_GetMutable_colorBackground()

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.

◆ MR_Pdf_TextCellParams_GetMutable_colorBorder()

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.

◆ MR_Pdf_TextCellParams_GetMutable_rect()

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.

◆ MR_Pdf_TextCellParams_GetMutable_textParams()

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.

◆ MR_Pdf_TextCellParams_OffsetMutablePtr()

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.

◆ MR_Pdf_TextCellParams_OffsetPtr()

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.

◆ MR_Pdf_TextCellParams_Set_colorBackground()

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.

◆ MR_Pdf_TextCellParams_Set_colorBorder()

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.

◆ MR_Pdf_TextCellParams_Set_rect()

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.

◆ MR_Pdf_TextCellParams_Set_textParams()

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.

◆ MR_Pdf_TextParams_AssignFromAnother()

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.

◆ MR_Pdf_TextParams_ConstructFrom()

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.

◆ MR_Pdf_TextParams_ConstructFromAnother()

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.

◆ MR_Pdf_TextParams_DefaultConstruct()

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.

◆ MR_Pdf_TextParams_DefaultConstructArray()

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.

◆ MR_Pdf_TextParams_Destroy()

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.

◆ MR_Pdf_TextParams_DestroyArray()

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.

◆ MR_Pdf_TextParams_Get_alignment()

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.

◆ MR_Pdf_TextParams_Get_colorText()

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.

◆ MR_Pdf_TextParams_Get_fontName()

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.

◆ MR_Pdf_TextParams_Get_fontSize()

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.

◆ MR_Pdf_TextParams_Get_underline()

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.

◆ MR_Pdf_TextParams_GetMutable_alignment()

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.

◆ MR_Pdf_TextParams_GetMutable_colorText()

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.

◆ MR_Pdf_TextParams_GetMutable_fontName()

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.

◆ MR_Pdf_TextParams_GetMutable_fontSize()

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.

◆ MR_Pdf_TextParams_GetMutable_underline()

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.

◆ MR_Pdf_TextParams_OffsetMutablePtr()

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.

◆ MR_Pdf_TextParams_OffsetPtr()

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.

◆ MR_Pdf_TextParams_Set_alignment()

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.

◆ MR_Pdf_TextParams_Set_colorText()

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.

◆ MR_Pdf_TextParams_Set_fontName()

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.

◆ MR_Pdf_TextParams_Set_fontSize()

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.

◆ MR_Pdf_TextParams_Set_underline()

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.

◆ MR_PdfParameters_AssignFromAnother()

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.

◆ MR_PdfParameters_ConstructFrom()

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.

◆ MR_PdfParameters_ConstructFromAnother()

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.

◆ MR_PdfParameters_DefaultConstruct()

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.

◆ MR_PdfParameters_DefaultConstructArray()

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.

◆ MR_PdfParameters_Destroy()

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.

◆ MR_PdfParameters_DestroyArray()

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.

◆ MR_PdfParameters_Get_defaultFont()

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.

◆ MR_PdfParameters_Get_defaultFontBold()

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.

◆ MR_PdfParameters_Get_tableFont()

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.

◆ MR_PdfParameters_Get_tableFontBold()

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.

◆ MR_PdfParameters_Get_textSize()

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.

◆ MR_PdfParameters_Get_titleSize()

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.

◆ MR_PdfParameters_GetMutable_defaultFont()

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.

◆ MR_PdfParameters_GetMutable_defaultFontBold()

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.

◆ MR_PdfParameters_GetMutable_tableFont()

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.

◆ MR_PdfParameters_GetMutable_tableFontBold()

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.

◆ MR_PdfParameters_GetMutable_textSize()

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.

◆ MR_PdfParameters_GetMutable_titleSize()

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.

◆ MR_PdfParameters_OffsetMutablePtr()

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.

◆ MR_PdfParameters_OffsetPtr()

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.

◆ MR_PdfParameters_Set_defaultFont()

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.

◆ MR_PdfParameters_Set_defaultFontBold()

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.

◆ MR_PdfParameters_Set_tableFont()

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.

◆ MR_PdfParameters_Set_tableFontBold()

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.

◆ MR_PdfParameters_Set_textSize()

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.

◆ MR_PdfParameters_Set_titleSize()

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.