#include <MRCMesh/MRVector3.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_PositionedText | MR_PositionedText |
| typedef struct MR_PositionedText MR_PositionedText |
Generated from class MR::PositionedText. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API bool MR_equal_MR_PositionedText | ( | const MR_PositionedText * | _this, |
| const MR_PositionedText * | _1 ) |
Generated from method MR::PositionedText::operator==. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API MR_PositionedText * MR_PositionedText_AssignFromAnother | ( | MR_PositionedText * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PositionedText * | _other ) |
Generated from method MR::PositionedText::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_PositionedText * MR_PositionedText_Construct | ( | const char * | text, |
| const char * | text_end, | ||
| const MR_Vector3f * | position ) |
Generated from constructor MR::PositionedText::PositionedText. Parameter text can not be null. If text_end is null, then text is assumed to be null-terminated. The reference to the parameter text might be preserved in the constructed object. Parameter position can not be null. It is a single object. The reference to the parameter position might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PositionedText_Destroy() to free it when you're done using it.
| MRC_API MR_PositionedText * MR_PositionedText_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PositionedText * | _other ) |
Generated from constructor MR::PositionedText::PositionedText. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PositionedText_Destroy() to free it when you're done using it.
| MRC_API MR_PositionedText * MR_PositionedText_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PositionedText_Destroy() to free it when you're done using it.
| MRC_API MR_PositionedText * MR_PositionedText_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_PositionedText_DestroyArray(). Use MR_PositionedText_OffsetMutablePtr() and MR_PositionedText_OffsetPtr() to access the array elements.
| MRC_API void MR_PositionedText_Destroy | ( | const MR_PositionedText * | _this | ) |
Destroys a heap-allocated instance of MR_PositionedText. Does nothing if the pointer is null.
| MRC_API void MR_PositionedText_DestroyArray | ( | const MR_PositionedText * | _this | ) |
Destroys a heap-allocated array of MR_PositionedText. Does nothing if the pointer is null.
| MRC_API const MR_Vector3f * MR_PositionedText_Get_position | ( | const MR_PositionedText * | _this | ) |
Returns a pointer to a member variable of class MR::PositionedText named position. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_std_string * MR_PositionedText_Get_text | ( | const MR_PositionedText * | _this | ) |
Returns a pointer to a member variable of class MR::PositionedText 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3f * MR_PositionedText_GetMutable_position | ( | MR_PositionedText * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PositionedText named position. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_std_string * MR_PositionedText_GetMutable_text | ( | MR_PositionedText * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PositionedText 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. The reference to this object might be preserved as the return value.
| MRC_API MR_PositionedText * MR_PositionedText_OffsetMutablePtr | ( | MR_PositionedText * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_PositionedText * MR_PositionedText_OffsetPtr | ( | const MR_PositionedText * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_PositionedText_Set_position | ( | MR_PositionedText * | _this, |
| MR_Vector3f | value ) |
Modifies a member variable of class MR::PositionedText named position. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element position. When this function is called, this object will drop object references it held previously in position.
| MRC_API void MR_PositionedText_Set_text | ( | MR_PositionedText * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
Modifies a member variable of class MR::PositionedText named text. 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. The reference to the parameter value might be preserved in this object in element text. When this function is called, this object will drop object references it held previously in text.