38 std::filesystem::path
pathToFontFile = GetWindowsInstallDirectory() /
"Fonts" /
"Consola.ttf";
#define MRSYMBOLMESH_API
Definition MRSymbolMeshFwd.h:11
Definition MRCameraOrientationPlugin.h:8
MRSYMBOLMESH_API Expected< Mesh > createSymbolsMesh(const SymbolMeshParams ¶ms)
MRSYMBOLMESH_API Expected< Contours2f > createSymbolContours(const SymbolMeshParams ¶ms)
tl::expected< T, E > Expected
Definition MRExpected.h:58
AlignType
Definition MRSymbolMesh.h:15
@ Right
Definition MRSymbolMesh.h:18
@ Center
Definition MRSymbolMesh.h:17
@ Left
Definition MRSymbolMesh.h:16
MRSYMBOLMESH_API void addBaseToPlanarMesh(Mesh &mesh, float zOffset=1.0f)
Definition MRMesh/MRMesh.h:23
Definition MRSymbolMesh.h:22
static constexpr float MaxGeneratedFontHeight
Definition MRSymbolMesh.h:45
Vector2f symbolsDistanceAdditionalOffset
Definition MRSymbolMesh.h:30
float symbolsThicknessOffsetModifier
Definition MRSymbolMesh.h:33
int fontDetalization
Definition MRSymbolMesh.h:26
std::filesystem::path pathToFontFile
Definition MRSymbolMesh.h:41
std::string text
Definition MRSymbolMesh.h:24
AlignType align
Definition MRSymbolMesh.h:35