Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/ChituboxZipFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ChituboxZipFile.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/UVtools.Core/FileFormats/ChituboxZipFile.cs b/UVtools.Core/FileFormats/ChituboxZipFile.cs
index 4397735..ff9aace 100644
--- a/UVtools.Core/FileFormats/ChituboxZipFile.cs
+++ b/UVtools.Core/FileFormats/ChituboxZipFile.cs
@@ -14,6 +14,7 @@ using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
+using System.Numerics;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
@@ -138,6 +139,17 @@ namespace UVtools.Core.FileFormats
set => HeaderSettings.ResolutionY = value;
}
+ public override float DisplayWidth
+ {
+ get => HeaderSettings.MachineX;
+ set => HeaderSettings.MachineX = value;
+ }
+ public override float DisplayHeight
+ {
+ get => HeaderSettings.MachineY;
+ set => HeaderSettings.MachineX = value;
+ }
+
public override byte AntiAliasing => HeaderSettings.AntiAliasing;
public override float LayerHeight