MeshLib C Docs
Loading...
Searching...
No Matches
MRPdf.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRBox.h>
4#include <MRCMesh/MRColor.h>
5#include <MRCMesh/MRVector2.h>
6#include <MRCMisc/common.h>
7#include <MRCMisc/exports.h>
8
9#include <stdbool.h>
10#include <stddef.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
17typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
18typedef 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; // Defined in `#include <MRCMisc/std_function_MR_Pdf_CellCustomParams_from_int_int_const_std_string_ref.h>`.
19typedef struct MR_std_function_void_from_MR_Pdf_ref MR_std_function_void_from_MR_Pdf_ref; // Defined in `#include <MRCMisc/std_function_void_from_MR_Pdf_ref.h>`.
20typedef struct MR_std_optional_MR_Color MR_std_optional_MR_Color; // Defined in `#include <MRCMisc/std_optional_MR_Color.h>`.
21typedef struct MR_std_optional_std_string MR_std_optional_std_string; // Defined in `#include <MRCMisc/std_optional_std_string.h>`.
22typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
23typedef struct MR_std_variant_MR_PdfBuildinFont_std_filesystem_path MR_std_variant_MR_PdfBuildinFont_std_filesystem_path; // Defined in `#include <MRCMisc/std_variant_MR_PdfBuildinFont_std_filesystem_path.h>`.
24typedef 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; // Defined in `#include <MRCMisc/std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty.h>`.
25typedef struct MR_std_vector_MR_Pdf_Cell MR_std_vector_MR_Pdf_Cell; // Defined in `#include <MRCMisc/std_vector_MR_Pdf_Cell.h>`.
26typedef struct MR_std_vector_MR_Pdf_PaletteRowStats MR_std_vector_MR_Pdf_PaletteRowStats; // Defined in `#include <MRCMisc/std_vector_MR_Pdf_PaletteRowStats.h>`.
27typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
28typedef struct MR_std_vector_std_pair_std_string_float MR_std_vector_std_pair_std_string_float; // Defined in `#include <MRCMisc/std_vector_std_pair_std_string_float.h>`.
29typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
30
31
52
59
66
67// parameters to drawing text
71
75
84
91
96
100
101// Table part
102// class to convert values to string with set format
106
110
114
120typedef struct MR_Pdf MR_Pdf;
121
126MRC_API const float *MR_PdfParameters_Get_titleSize(const MR_PdfParameters *_this);
127
131MRC_API void MR_PdfParameters_Set_titleSize(MR_PdfParameters *_this, float value);
132
138
143MRC_API const float *MR_PdfParameters_Get_textSize(const MR_PdfParameters *_this);
144
148MRC_API void MR_PdfParameters_Set_textSize(MR_PdfParameters *_this, float value);
149
155
164
173
182
188
194
200
209
218
227
233
239
245
249
254
262MRC_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);
263
266MRC_API const MR_PdfParameters *MR_PdfParameters_OffsetPtr(const MR_PdfParameters *ptr, ptrdiff_t i);
267
271
276
279
282
289
297
301MRC_API MR_Pdf *MR_Pdf_DefaultConstructArray(size_t num_elems);
302
305MRC_API const MR_Pdf *MR_Pdf_OffsetPtr(const MR_Pdf *ptr, ptrdiff_t i);
306
309MRC_API MR_Pdf *MR_Pdf_OffsetMutablePtr(MR_Pdf *ptr, ptrdiff_t i);
310
314MRC_API MR_Pdf *MR_Pdf_ConstructFromAnother(MR_PassBy other_pass_by, MR_Pdf *other);
315
317MRC_API void MR_Pdf_Destroy(const MR_Pdf *_this);
318
320MRC_API void MR_Pdf_DestroyArray(const MR_Pdf *_this);
321
325MRC_API bool MR_Pdf_ConvertTo_bool(const MR_Pdf *_this);
326
333MRC_API MR_Pdf *MR_Pdf_AssignFromAnother(MR_Pdf *_this, MR_PassBy other_pass_by, MR_Pdf *other);
334
348MRC_API void MR_Pdf_addText_bool(MR_Pdf *_this, const char *text, const char *text_end, const bool *isTitle);
349
355MRC_API void MR_Pdf_addText_MR_Pdf_TextParams(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextParams *params);
356
363MRC_API float MR_Pdf_getTextWidth(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextParams *params);
364
375
380
390MRC_API void MR_Pdf_addImageFromFile(MR_Pdf *_this, const char *imagePath, const char *imagePath_end, const MR_Pdf_ImageParams *params);
391
396MRC_API void MR_Pdf_addImage(MR_Pdf *_this, const MR_Image *image, const MR_Pdf_ImageParams *params);
397
401MRC_API void MR_Pdf_newPage(MR_Pdf *_this);
402
406MRC_API void MR_Pdf_setNewPageAction(MR_Pdf *_this, MR_PassBy action_pass_by, MR_std_function_void_from_MR_Pdf_ref *action);
407
412MRC_API void MR_Pdf_saveToFile(MR_Pdf *_this, const char *documentPath, const char *documentPath_end);
413
416MRC_API void MR_Pdf_setCursorPosX(MR_Pdf *_this, float posX);
417
420MRC_API void MR_Pdf_setCursorPosY(MR_Pdf *_this, float posY);
421
424MRC_API float MR_Pdf_getCursorPosX(const MR_Pdf *_this);
425
428MRC_API float MR_Pdf_getCursorPosY(const MR_Pdf *_this);
429
433
437
438// set up new table (clear table customization, reset parameters to default values)
441MRC_API void MR_Pdf_newTable(MR_Pdf *_this, int columnCount);
442
443// set table column widths
449
450// add in pdf table row with titles
456
457// set format for conversion values to string for each column
463
464// add in pdf table row with values
470
471// parameters to customization table cell
472// return text width (for table font parameters)
477MRC_API float MR_Pdf_getTableTextWidth(MR_Pdf *_this, const char *text, const char *text_end);
478
479// add rule to customize table cells
483
484// draw text in specific rect on page
485// text will be cropped by rect
492MRC_API void MR_Pdf_drawTextInRect(MR_Pdf *_this, const char *text, const char *text_end, const MR_Box2f *rect, const MR_Pdf_TextParams *params);
493
499MRC_API void MR_Pdf_drawTextCell(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextCellParams *params);
500
501// draw rect (filled with border)
507MRC_API void MR_Pdf_drawRect(MR_Pdf *_this, const MR_Box2f *rect, const MR_Color *fillColor, const MR_Color *strokeColor);
508
514
520
526
531MRC_API const float *MR_Pdf_TextParams_Get_fontSize(const MR_Pdf_TextParams *_this);
532
536MRC_API void MR_Pdf_TextParams_Set_fontSize(MR_Pdf_TextParams *_this, float value);
537
543
549
555
561
567
573
579
584MRC_API const bool *MR_Pdf_TextParams_Get_underline(const MR_Pdf_TextParams *_this);
585
589MRC_API void MR_Pdf_TextParams_Set_underline(MR_Pdf_TextParams *_this, bool value);
590
596
600
605
612MRC_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);
613
617
621
626
629
632
639
645
651
657
663
670MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMin(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end);
671
677
683
690MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMax(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end);
691
697
703
710MRC_API void MR_Pdf_PaletteRowStats_Set_percent(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end);
711
717
721
726
740MRC_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);
741
745
749
754
757
760
767
776
785
794
801
809MRC_API void MR_Pdf_ImageParams_Set_caption(MR_Pdf_ImageParams *_this, const char *value, const char *value_end);
810
817
823
829
835
841
847
853
859
865
871
875
880
891MRC_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);
892
896
900
905
908
911
918
924
930
936
940
945
948MRC_API const MR_Pdf_Cell *MR_Pdf_Cell_OffsetPtr(const MR_Pdf_Cell *ptr, ptrdiff_t i);
949
953
957MRC_API MR_Pdf_Cell *MR_Pdf_Cell_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_Cell *_other);
958
960MRC_API void MR_Pdf_Cell_Destroy(const MR_Pdf_Cell *_this);
961
963MRC_API void MR_Pdf_Cell_DestroyArray(const MR_Pdf_Cell *_this);
964
970MRC_API MR_Pdf_Cell *MR_Pdf_Cell_AssignFromAnother(MR_Pdf_Cell *_this, MR_PassBy _other_pass_by, MR_Pdf_Cell *_other);
971
972// get strang from contained value
973// \param fmtStr format string like fmt::format
980MRC_API MR_std_string *MR_Pdf_Cell_toString(const MR_Pdf_Cell *_this, const char *fmtStr, const char *fmtStr_end);
981
985
990
994
998
1004
1007
1010
1018
1024
1031
1037
1043
1050
1056
1062
1069
1075
1081
1089MRC_API void MR_Pdf_CellCustomParams_Set_text(MR_Pdf_CellCustomParams *_this, const char *value, const char *value_end);
1090
1096
1100
1105
1119MRC_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);
1120
1124
1128
1133
1136
1139
1146
1152
1157MRC_API void MR_Pdf_TextCellParams_Set_textParams(MR_Pdf_TextCellParams *_this, MR_PassBy value_pass_by, MR_Pdf_TextParams *value);
1158
1164
1170
1176
1182
1188
1194
1200
1206
1212
1218
1222
1227
1235MRC_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);
1236
1240
1244
1249
1252
1255
1262
1263#ifdef __cplusplus
1264} // extern "C"
1265#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:26
struct MR_std_string MR_std_string
Definition MRCtm.h:32
struct MR_std_optional_MR_Color MR_std_optional_MR_Color
Definition MRCtm.h:29
struct MR_Image MR_Image
Definition MRJpeg.h:12
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 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_optional_std_string * MR_Pdf_CellCustomParams_GetMutable_text(MR_Pdf_CellCustomParams *_this)
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorCellBg(const MR_Pdf_CellCustomParams *_this)
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_TextParams_Set_colorText(MR_Pdf_TextParams *_this, MR_Color value)
MRC_API MR_expected_void_std_string * MR_Pdf_setTableColumnWidths(MR_Pdf *_this, const MR_std_vector_float *widths)
MRC_API void MR_Pdf_TextParams_Set_underline(MR_Pdf_TextParams *_this, bool value)
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_AssignFromAnother(MR_Pdf_CellCustomParams *_this, MR_PassBy _other_pass_by, MR_Pdf_CellCustomParams *_other)
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_defaultFontBold(MR_PdfParameters *_this)
MRC_API MR_Color * MR_Pdf_PaletteRowStats_GetMutable_color(MR_Pdf_PaletteRowStats *_this)
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 const MR_Box2f * MR_Pdf_TextCellParams_Get_rect(const MR_Pdf_TextCellParams *_this)
MRC_API float * MR_PdfParameters_GetMutable_textSize(MR_PdfParameters *_this)
struct MR_Pdf MR_Pdf
Definition MRPdf.h:120
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_defaultFontBold(const MR_PdfParameters *_this)
MRC_API void MR_Pdf_TextParams_Set_fontSize(MR_Pdf_TextParams *_this, float value)
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMin(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
MRC_API void MR_Pdf_TextCellParams_Set_colorBorder(MR_Pdf_TextCellParams *_this, MR_Color value)
MRC_API MR_Pdf_ImageParams_AlignmentVertical * MR_Pdf_ImageParams_GetMutable_alignmentVertical(MR_Pdf_ImageParams *_this)
MRC_API MR_PdfParameters * MR_PdfParameters_DefaultConstruct(void)
MRC_API const MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_OffsetPtr(const MR_Pdf_TextCellParams *ptr, ptrdiff_t i)
MRC_API void MR_Pdf_drawTextCell(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextCellParams *params)
MRC_API MR_Pdf * MR_Pdf_DefaultConstructArray(size_t num_elems)
struct MR_Pdf_CellCustomParams MR_Pdf_CellCustomParams
Definition MRPdf.h:109
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_AssignFromAnother(MR_Pdf_TextParams *_this, MR_PassBy _other_pass_by, MR_Pdf_TextParams *_other)
MRC_API MR_PdfParameters * MR_PdfParameters_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PdfParameters *_other)
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_DefaultConstruct(void)
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_OffsetMutablePtr(MR_Pdf_Cell *ptr, ptrdiff_t i)
MRC_API MR_Pdf_AlignmentHorizontal * MR_Pdf_ImageParams_GetMutable_alignmentHorizontal(MR_Pdf_ImageParams *_this)
MRC_API const MR_std_optional_std_string * MR_Pdf_CellCustomParams_Get_text(const MR_Pdf_CellCustomParams *_this)
MRC_API const MR_Pdf_TextParams * MR_Pdf_TextParams_OffsetPtr(const MR_Pdf_TextParams *ptr, ptrdiff_t i)
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_AssignFromAnother(MR_Pdf_ImageParams *_this, MR_PassBy _other_pass_by, MR_Pdf_ImageParams *_other)
MRC_API MR_Pdf_TextParams * MR_Pdf_TextCellParams_GetMutable_textParams(MR_Pdf_TextCellParams *_this)
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_DefaultConstructArray(size_t num_elems)
MRC_API bool * MR_Pdf_TextParams_GetMutable_underline(MR_Pdf_TextParams *_this)
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_OffsetMutablePtr(MR_Pdf_TextCellParams *ptr, ptrdiff_t i)
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorCellBg(MR_Pdf_CellCustomParams *_this)
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)
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_TextParams *_other)
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 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 const MR_Vector2f * MR_Pdf_ImageParams_Get_size(const MR_Pdf_ImageParams *_this)
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)
MR_Pdf_ImageParams_AlignmentVertical
Definition MRPdf.h:86
@ MR_Pdf_ImageParams_AlignmentVertical_Bottom
Definition MRPdf.h:89
@ MR_Pdf_ImageParams_AlignmentVertical_Top
Definition MRPdf.h:87
@ MR_Pdf_ImageParams_AlignmentVertical_Center
Definition MRPdf.h:88
MRC_API const MR_std_string * MR_Pdf_ImageParams_Get_caption(const MR_Pdf_ImageParams *_this)
MRC_API void MR_Pdf_setCursorPosX(MR_Pdf *_this, float posX)
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Pdf_TextParams_Set_alignment(MR_Pdf_TextParams *_this, MR_Pdf_AlignmentHorizontal value)
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_DefaultConstructArray(size_t num_elems)
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_Pdf_ImageParams_Destroy(const MR_Pdf_ImageParams *_this)
Destroys a heap-allocated instance of MR_Pdf_ImageParams. Does nothing if the pointer is null.
struct MR_std_variant_MR_PdfBuildinFont_std_filesystem_path MR_std_variant_MR_PdfBuildinFont_std_filesystem_path
Definition MRPdf.h:23
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_OffsetMutablePtr(MR_Pdf_ImageParams *ptr, ptrdiff_t i)
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 void MR_Pdf_saveToFile(MR_Pdf *_this, const char *documentPath, const char *documentPath_end)
MRC_API MR_Color * MR_Pdf_TextCellParams_GetMutable_colorBorder(MR_Pdf_TextCellParams *_this)
MRC_API const MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_OffsetPtr(const MR_Pdf_Cell_Empty *ptr, ptrdiff_t i)
struct MR_std_vector_MR_Pdf_PaletteRowStats MR_std_vector_MR_Pdf_PaletteRowStats
Definition MRPdf.h:26
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 pa...
MRC_API MR_Pdf * MR_Pdf_OffsetMutablePtr(MR_Pdf *ptr, ptrdiff_t i)
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)
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_OffsetMutablePtr(MR_Pdf_TextParams *ptr, ptrdiff_t i)
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_OffsetMutablePtr(MR_Pdf_CellCustomParams *ptr, ptrdiff_t i)
MRC_API void MR_Pdf_CellCustomParams_Set_text(MR_Pdf_CellCustomParams *_this, const char *value, const char *value_end)
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorText(const MR_Pdf_CellCustomParams *_this)
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_Pdf_TextParams_Get_fontName(const MR_Pdf_TextParams *_this)
MRC_API MR_expected_void_std_string * MR_Pdf_setColumnValuesFormat(MR_Pdf *_this, const MR_std_vector_std_string *formats)
struct MR_Pdf_Cell_Empty MR_Pdf_Cell_Empty
Definition MRPdf.h:99
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_Pdf_Cell * MR_Pdf_Cell_AssignFromAnother(MR_Pdf_Cell *_this, MR_PassBy _other_pass_by, MR_Pdf_Cell *_other)
MRC_API float * MR_Pdf_TextParams_GetMutable_fontSize(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)
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
Definition MRPdf.h:18
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 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_ImageParams_UniformScale
set height to keep same scale as width scale
Definition MRPdf.h:78
@ MR_Pdf_ImageParams_UniformScale_FromHeight
Definition MRPdf.h:81
@ MR_Pdf_ImageParams_UniformScale_Auto
Definition MRPdf.h:82
@ MR_Pdf_ImageParams_UniformScale_None
Definition MRPdf.h:79
@ MR_Pdf_ImageParams_UniformScale_FromWidth
Definition MRPdf.h:80
MRC_API MR_Pdf_AlignmentHorizontal * MR_Pdf_TextParams_GetMutable_alignment(MR_Pdf_TextParams *_this)
MRC_API void MR_Pdf_setNewPageAction(MR_Pdf *_this, MR_PassBy action_pass_by, MR_std_function_void_from_MR_Pdf_ref *action)
struct MR_std_optional_std_string MR_std_optional_std_string
Definition MRPdf.h:21
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_percent(MR_Pdf_PaletteRowStats *_this)
MRC_API MR_PdfParameters * MR_PdfParameters_AssignFromAnother(MR_PdfParameters *_this, MR_PassBy _other_pass_by, MR_PdfParameters *_other)
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_defaultFont(const MR_PdfParameters *_this)
Font name.
MRC_API const float * MR_PdfParameters_Get_titleSize(const MR_PdfParameters *_this)
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_percent(const MR_Pdf_PaletteRowStats *_this)
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_tableFont(MR_PdfParameters *_this)
MRC_API void MR_Pdf_addText_bool(MR_Pdf *_this, const char *text, const char *text_end, const bool *isTitle)
MRC_API void MR_Pdf_CellCustomParams_Set_colorText(MR_Pdf_CellCustomParams *_this, const MR_Color *value)
struct MR_Pdf_TextCellParams MR_Pdf_TextCellParams
Definition MRPdf.h:113
MRC_API void MR_Pdf_PaletteRowStats_Set_rangeMax(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
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)
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorText(MR_Pdf_CellCustomParams *_this)
MRC_API MR_Box2f MR_Pdf_getPageWorkArea(const MR_Pdf *_this)
MRC_API float * MR_PdfParameters_GetMutable_titleSize(MR_PdfParameters *_this)
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 void MR_Pdf_ImageParams_DestroyArray(const MR_Pdf_ImageParams *_this)
Destroys a heap-allocated array of MR_Pdf_ImageParams. Does nothing if the pointer is null.
MRC_API const MR_Pdf_ImageParams_UniformScale * MR_Pdf_ImageParams_Get_uniformScale(const MR_Pdf_ImageParams *_this)
MRC_API MR_Pdf_TextParams * MR_Pdf_TextParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_PdfParameters * MR_PdfParameters_DefaultConstructArray(size_t num_elems)
MR_Pdf_AlignmentHorizontal
Definition MRPdf.h:61
@ MR_Pdf_AlignmentHorizontal_Center
Definition MRPdf.h:63
@ MR_Pdf_AlignmentHorizontal_Left
Definition MRPdf.h:62
@ MR_Pdf_AlignmentHorizontal_Right
Definition MRPdf.h:64
MRC_API MR_Pdf_ImageParams_UniformScale * MR_Pdf_ImageParams_GetMutable_uniformScale(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_Cell * MR_Pdf_Cell_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_Cell *_other)
MRC_API void MR_Pdf_drawRect(MR_Pdf *_this, const MR_Box2f *rect, const MR_Color *fillColor, const MR_Color *strokeColor)
MRC_API MR_Box2f * MR_Pdf_TextCellParams_GetMutable_rect(MR_Pdf_TextCellParams *_this)
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 MR_Pdf_TextParams * MR_Pdf_TextParams_DefaultConstruct(void)
MRC_API const MR_Color * MR_Pdf_TextCellParams_Get_colorBackground(const MR_Pdf_TextCellParams *_this)
MRC_API void MR_Pdf_ImageParams_Set_alignmentHorizontal(MR_Pdf_ImageParams *_this, MR_Pdf_AlignmentHorizontal value)
MRC_API const MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_OffsetPtr(const MR_Pdf_CellCustomParams *ptr, ptrdiff_t i)
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_TextCellParams *_other)
MRC_API MR_Vector2f MR_Pdf_getPageSize(const MR_Pdf *_this)
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_tableFont(const MR_PdfParameters *_this)
MRC_API MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_GetMutable_colorCellBorder(MR_Pdf_CellCustomParams *_this)
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_AssignFromAnother(MR_Pdf_TextCellParams *_this, 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 MR_Pdf_ImageParams * MR_Pdf_ImageParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_ImageParams *_other)
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_rangeMax(MR_Pdf_PaletteRowStats *_this)
MRC_API float MR_Pdf_getTableTextWidth(MR_Pdf *_this, const char *text, const char *text_end)
MRC_API const MR_Color * MR_Pdf_PaletteRowStats_Get_color(const MR_Pdf_PaletteRowStats *_this)
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBorder(MR_Pdf_CellCustomParams *_this, const MR_Color *value)
MRC_API void MR_PdfParameters_Set_textSize(MR_PdfParameters *_this, float value)
MRC_API const MR_Pdf_ImageParams * MR_Pdf_ImageParams_OffsetPtr(const MR_Pdf_ImageParams *ptr, ptrdiff_t i)
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_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 bool MR_Pdf_ConvertTo_bool(const MR_Pdf *_this)
MRC_API void MR_Pdf_addText_MR_Pdf_TextParams(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextParams *params)
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_OffsetMutablePtr(MR_Pdf_Cell_Empty *ptr, ptrdiff_t i)
MRC_API const MR_Color * MR_Pdf_TextCellParams_Get_colorBorder(const MR_Pdf_TextCellParams *_this)
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_defaultFont(MR_PdfParameters *_this)
Font name.
MRC_API void MR_Pdf_PaletteRowStats_Set_percent(MR_Pdf_PaletteRowStats *_this, const char *value, const char *value_end)
struct MR_PdfParameters MR_PdfParameters
Parameters of document style.
Definition MRPdf.h:58
MRC_API void MR_PdfParameters_Set_tableFontBold(MR_PdfParameters *_this, MR_PassBy value_pass_by, MR_std_variant_MR_PdfBuildinFont_std_filesystem_path *value)
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
Definition MRPdf.h:24
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_Pdf_TextParams_GetMutable_fontName(MR_Pdf_TextParams *_this)
MRC_API MR_std_string * MR_Pdf_Cell_toString(const MR_Pdf_Cell *_this, const char *fmtStr, const char *fmtStr_end)
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)
MRC_API void MR_Pdf_drawTextInRect(MR_Pdf *_this, const char *text, const char *text_end, const MR_Box2f *rect, const MR_Pdf_TextParams *params)
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_ConstructFromAnother(const MR_Pdf_Cell_Empty *_other)
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_rangeMin(const MR_Pdf_PaletteRowStats *_this)
MRC_API const MR_PdfParameters * MR_PdfParameters_OffsetPtr(const MR_PdfParameters *ptr, ptrdiff_t i)
MRC_API void MR_Pdf_CellCustomParams_Set_colorCellBg(MR_Pdf_CellCustomParams *_this, const MR_Color *value)
MRC_API const MR_Color * MR_Pdf_TextParams_Get_colorText(const MR_Pdf_TextParams *_this)
MRC_API void MR_Pdf_ImageParams_Set_uniformScale(MR_Pdf_ImageParams *_this, MR_Pdf_ImageParams_UniformScale value)
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_AssignFromAnother(MR_Pdf_PaletteRowStats *_this, MR_PassBy _other_pass_by, MR_Pdf_PaletteRowStats *_other)
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_CellCustomParams *_other)
MRC_API MR_Pdf_Cell * MR_Pdf_Cell_DefaultConstruct(void)
MRC_API void MR_Pdf_TextCellParams_Set_rect(MR_Pdf_TextCellParams *_this, MR_Box2f value)
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_OffsetMutablePtr(MR_Pdf_PaletteRowStats *ptr, ptrdiff_t i)
MRC_API const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_Get_tableFontBold(const MR_PdfParameters *_this)
MRC_API const float * MR_Pdf_TextParams_Get_fontSize(const MR_Pdf_TextParams *_this)
MRC_API void MR_Pdf_addImage(MR_Pdf *_this, const MR_Image *image, const MR_Pdf_ImageParams *params)
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_PdfBuildinFont
Definition MRPdf.h:35
@ MR_PdfBuildinFont_Helvetica
Definition MRPdf.h:40
@ MR_PdfBuildinFont_HelveticaBoldOblique
Definition MRPdf.h:43
@ MR_PdfBuildinFont_TimesBoldItalic
Definition MRPdf.h:47
@ MR_PdfBuildinFont_Count
Definition MRPdf.h:50
@ MR_PdfBuildinFont_Symbol
Definition MRPdf.h:48
@ MR_PdfBuildinFont_CourierOblique
Definition MRPdf.h:38
@ MR_PdfBuildinFont_TimesBold
Definition MRPdf.h:45
@ MR_PdfBuildinFont_Courier
Definition MRPdf.h:36
@ MR_PdfBuildinFont_CourierBoldOblique
Definition MRPdf.h:39
@ MR_PdfBuildinFont_HelveticaBold
Definition MRPdf.h:41
@ MR_PdfBuildinFont_HelveticaOblique
Definition MRPdf.h:42
@ MR_PdfBuildinFont_ZapfDingbats
Definition MRPdf.h:49
@ MR_PdfBuildinFont_TimesRoman
Definition MRPdf.h:44
@ MR_PdfBuildinFont_CourierBold
Definition MRPdf.h:37
@ MR_PdfBuildinFont_TimesItalic
Definition MRPdf.h:46
MRC_API const MR_Pdf_AlignmentHorizontal * MR_Pdf_TextParams_Get_alignment(const MR_Pdf_TextParams *_this)
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_Color * MR_Pdf_TextCellParams_GetMutable_colorBackground(MR_Pdf_TextCellParams *_this)
MRC_API const MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_OffsetPtr(const MR_Pdf_PaletteRowStats *ptr, ptrdiff_t i)
MRC_API void MR_Pdf_newTable(MR_Pdf *_this, int columnCount)
MRC_API void MR_Pdf_PaletteRowStats_Set_color(MR_Pdf_PaletteRowStats *_this, MR_Color value)
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
MRC_API MR_Pdf_ImageParams * MR_Pdf_ImageParams_DefaultConstruct(void)
MRC_API float MR_Pdf_getCursorPosX(const MR_Pdf *_this)
MRC_API const MR_Pdf_TextParams * MR_Pdf_TextCellParams_Get_textParams(const MR_Pdf_TextCellParams *_this)
MRC_API void MR_Pdf_ImageParams_Set_size(MR_Pdf_ImageParams *_this, MR_Vector2f value)
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27
MRC_API const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_Pdf_Cell_Get_data(const MR_Pdf_Cell *_this)
struct MR_Pdf_TextParams MR_Pdf_TextParams
Definition MRPdf.h:70
MRC_API MR_Pdf * MR_Pdf_Construct(const MR_PdfParameters *params)
MRC_API MR_Pdf_TextCellParams * MR_Pdf_TextCellParams_DefaultConstruct(void)
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_DefaultConstruct(void)
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_AssignFromAnother(MR_Pdf_Cell_Empty *_this, const MR_Pdf_Cell_Empty *_other)
struct MR_Pdf_Cell MR_Pdf_Cell
Definition MRPdf.h:105
MRC_API MR_Pdf_Cell_Empty * MR_Pdf_Cell_Empty_DefaultConstruct(void)
MRC_API MR_Pdf_CellCustomParams * MR_Pdf_CellCustomParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_expected_void_std_string * MR_Pdf_addTableTitles(MR_Pdf *_this, const MR_std_vector_std_string *titles)
MRC_API void MR_Pdf_TextCellParams_Set_colorBackground(MR_Pdf_TextCellParams *_this, MR_Color value)
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)
MRC_API float MR_Pdf_getCursorPosY(const MR_Pdf *_this)
MRC_API void MR_Pdf_ImageParams_Set_caption(MR_Pdf_ImageParams *_this, const char *value, const char *value_end)
MRC_API float MR_Pdf_getTextWidth(MR_Pdf *_this, const char *text, const char *text_end, const MR_Pdf_TextParams *params)
MRC_API const bool * MR_Pdf_TextParams_Get_underline(const MR_Pdf_TextParams *_this)
MRC_API MR_Pdf_PaletteRowStats * MR_Pdf_PaletteRowStats_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Pdf_PaletteRowStats *_other)
MRC_API const MR_Pdf_Cell * MR_Pdf_Cell_OffsetPtr(const MR_Pdf_Cell *ptr, ptrdiff_t i)
MRC_API const MR_std_string * MR_Pdf_PaletteRowStats_Get_rangeMax(const MR_Pdf_PaletteRowStats *_this)
struct MR_Pdf_ImageParams MR_Pdf_ImageParams
Definition MRPdf.h:95
MRC_API void MR_Pdf_newPage(MR_Pdf *_this)
MRC_API void MR_PdfParameters_Set_titleSize(MR_PdfParameters *_this, float value)
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_Pdf_Cell_GetMutable_data(MR_Pdf_Cell *_this)
MRC_API MR_std_string * MR_Pdf_ImageParams_GetMutable_caption(MR_Pdf_ImageParams *_this)
MRC_API void MR_Pdf_addPaletteStatsTable(MR_Pdf *_this, const MR_std_vector_MR_Pdf_PaletteRowStats *paletteStats)
MRC_API const MR_Pdf_ImageParams_AlignmentVertical * MR_Pdf_ImageParams_Get_alignmentVertical(const MR_Pdf_ImageParams *_this)
MRC_API MR_Color * MR_Pdf_TextParams_GetMutable_colorText(MR_Pdf_TextParams *_this)
MRC_API MR_Pdf * MR_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_TextCellParams_Set_textParams(MR_Pdf_TextCellParams *_this, MR_PassBy value_pass_by, MR_Pdf_TextParams *value)
struct MR_std_function_void_from_MR_Pdf_ref MR_std_function_void_from_MR_Pdf_ref
Definition MRPdf.h:19
MRC_API void MR_Pdf_TextCellParams_DestroyArray(const MR_Pdf_TextCellParams *_this)
Destroys a heap-allocated array of MR_Pdf_TextCellParams. Does nothing if the pointer is null.
MRC_API const float * MR_PdfParameters_Get_textSize(const MR_PdfParameters *_this)
struct MR_std_vector_MR_Pdf_Cell MR_std_vector_MR_Pdf_Cell
Definition MRPdf.h:25
MRC_API MR_Pdf * MR_Pdf_AssignFromAnother(MR_Pdf *_this, MR_PassBy other_pass_by, MR_Pdf *other)
struct MR_Pdf_PaletteRowStats MR_Pdf_PaletteRowStats
Definition MRPdf.h:74
MRC_API void MR_PdfParameters_DestroyArray(const MR_PdfParameters *_this)
Destroys a heap-allocated array of MR_PdfParameters. Does nothing if the pointer is null.
MRC_API const MR_std_optional_MR_Color * MR_Pdf_CellCustomParams_Get_colorCellBorder(const MR_Pdf_CellCustomParams *_this)
MRC_API MR_PdfParameters * MR_PdfParameters_OffsetMutablePtr(MR_PdfParameters *ptr, ptrdiff_t i)
struct MR_std_vector_std_pair_std_string_float MR_std_vector_std_pair_std_string_float
Definition MRPdf.h:28
MRC_API const MR_Pdf_AlignmentHorizontal * MR_Pdf_ImageParams_Get_alignmentHorizontal(const MR_Pdf_ImageParams *_this)
MRC_API void MR_Pdf_addTable(MR_Pdf *_this, const MR_std_vector_std_pair_std_string_float *table)
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_setCursorPosY(MR_Pdf *_this, float posY)
MRC_API MR_std_string * MR_Pdf_PaletteRowStats_GetMutable_rangeMin(MR_Pdf_PaletteRowStats *_this)
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_PdfParameters_GetMutable_tableFontBold(MR_PdfParameters *_this)
MRC_API MR_Vector2f * MR_Pdf_ImageParams_GetMutable_size(MR_Pdf_ImageParams *_this)
MRC_API MR_expected_void_std_string * MR_Pdf_addRow(MR_Pdf *_this, const MR_std_vector_MR_Pdf_Cell *cells)
MRC_API const MR_Pdf * MR_Pdf_OffsetPtr(const MR_Pdf *ptr, ptrdiff_t i)
Definition MRBox.h:78
Generated from class MR::Color.
Definition MRColor.h:18
Generated from class MR::Vector2f.
Definition MRVector2.h:36