3#include "MRSymbolMeshFwd.h"
41 std::filesystem::path
pathToFontFile = GetWindowsInstallDirectory() /
"Fonts" /
"Consola.ttf";
static constexpr float MaxGeneratedFontHeight
_WIN32
Definition MRSymbolMesh.h:48
Vector2f symbolsDistanceAdditionalOffset
Definition MRSymbolMesh.h:33
MRSYMBOLMESH_API Expected< Mesh > createSymbolsMesh(const SymbolMeshParams ¶ms)
converts text string into Z-facing symbol mesh
MRSYMBOLMESH_API Expected< Contours2f > createSymbolContours(const SymbolMeshParams ¶ms)
converts text string into set of contours
float symbolsThicknessOffsetModifier
Definition MRSymbolMesh.h:36
tl::expected< T, E > Expected
Definition MRExpected.h:31
AlignType
Definition MRSymbolMesh.h:18
int fontDetalization
Detailization of Bezier curves on font glyphs.
Definition MRSymbolMesh.h:29
std::filesystem::path pathToFontFile
Path to font file.
Definition MRSymbolMesh.h:44
std::string text
Text that will be made mesh.
Definition MRSymbolMesh.h:27
AlignType align
alignment of the text inside bbox
Definition MRSymbolMesh.h:38
@ Right
Definition MRSymbolMesh.h:21
@ Center
Definition MRSymbolMesh.h:20
@ Left
Definition MRSymbolMesh.h:19
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRSymbolMesh.h:25