mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
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:
parent
65ba9cafb3
commit
b068389d4c
11 changed files with 448 additions and 1 deletions
12
src/libslic3r/Shape/TextShape.hpp
Normal file
12
src/libslic3r/Shape/TextShape.hpp
Normal 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_
|
Loading…
Add table
Add a link
Reference in a new issue