Support larger printer sizes by using 64-bit.

SuperSlicer is referenced for some changes.

Co-authored-by: Merill <merill@free.fr>
This commit is contained in:
SoftFever
2024-05-10 23:42:28 +08:00
parent 5bceebdd9d
commit 9b2c2bff1d
87 changed files with 380 additions and 362 deletions

View File

@@ -11,7 +11,7 @@
#include <wx/string.h>
#include <wx/fontenc.h>
#include "Job.hpp"
#include "libslic3r/Point.hpp" // Vec2i
#include "libslic3r/Point.hpp" // Vec2i32
namespace Slic3r::GUI {
@@ -32,7 +32,7 @@ struct FontImageData
size_t index;
// Height of each text
// And Limit for width
Vec2i size; // in px
Vec2i32 size; // in px
// bigger value create darker image
// divide value 255