Go to the source code of this file.
Typedefs | |
| typedef struct MR_LinesLoadSettings | MR_LinesLoadSettings |
| typedef struct MR_expected_MR_Polyline3_std_string | MR_expected_MR_Polyline3_std_string |
Functions | |
| MRC_API MR_expected_MR_Polyline3_std_string * | MR_LinesLoad_fromSvg_2_std_filesystem_path (const char *file, const char *file_end, const MR_LinesLoadSettings *settings) |
| MRC_API MR_expected_MR_Polyline3_std_string * | MR_LinesLoad_fromSvg_2_std_istream (MR_std_istream *in, const MR_LinesLoadSettings *settings) |
| MRC_API MR_expected_MR_Polyline3_std_string * | MR_LinesLoad_fromSvg_3 (const char *data, MR_uint64_t size, const MR_LinesLoadSettings *settings) |
Stores either a MR::Polyline3 that represents success or a std::string that represents an error. 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).
| typedef struct MR_LinesLoadSettings MR_LinesLoadSettings |
setting for polyline loading from external format, and locations of optional output data Generated from class MR::LinesLoadSettings. 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). optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::LinesLoadSettings named colors. 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_expected_MR_Polyline3_std_string * MR_LinesLoad_fromSvg_2_std_filesystem_path | ( | const char * | file, |
| const char * | file_end, | ||
| const MR_LinesLoadSettings * | settings ) |
loads shapes (polylines, paths, etc.) from file in .SVG format Generated from function MR::LinesLoad::fromSvg. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Polyline3_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromSvg_2_std_istream | ( | MR_std_istream * | in, |
| const MR_LinesLoadSettings * | settings ) |
Generated from function MR::LinesLoad::fromSvg. Parameter in can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Polyline3_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromSvg_3 | ( | const char * | data, |
| MR_uint64_t | size, | ||
| const MR_LinesLoadSettings * | settings ) |
Generated from function MR::LinesLoad::fromSvg. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Polyline3_std_string_Destroy() to free it when you're done using it.