MeshLib C Docs
Loading...
Searching...
No Matches
MRSvg.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>

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
 
typedef struct MR_std_istream MR_std_istream
 

Functions

MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromSvg_2_std_filesystem_path (const char *file, const char *file_end, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromSvg_2_std_istream (MR_std_istream *in, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromSvg_3 (const char *data, MR_uint64_t size, const MR_LinesLoadSettings *settings)
 

Typedef Documentation

◆ MR_expected_MR_Polyline3_std_string

◆ MR_LinesLoadSettings

◆ MR_std_istream

Function Documentation

◆ MR_LinesLoad_fromSvg_2_std_filesystem_path()

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.

◆ MR_LinesLoad_fromSvg_2_std_istream()

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.

◆ MR_LinesLoad_fromSvg_3()

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.