NEW: add text gizmo tool

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I77fdf64340f580e6baa3260101fa1c6db7a4ab2d
(cherry picked from commit 2147c55134b4d9d1018d7e9f4f8d1a4d50c065f6)
This commit is contained in:
yifan.wu 2022-08-12 21:13:52 +08:00 committed by Lane.Wei
parent 65ba9cafb3
commit b068389d4c
11 changed files with 448 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#ifndef slic3r_Text_Shape_hpp_
#define slic3r_Text_Shape_hpp_
namespace Slic3r {
class TriangleMesh;
extern std::vector<std::string> init_occt_fonts();
extern void load_text_shape(const char* text, const char* font, const float text_height, const float thickness, bool is_bold, bool is_italic, TriangleMesh& text_mesh);
}; // namespace Slic3r
#endif // slic3r_Text_Shape_hpp_