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:
authorTiago Conceição <Tiago_caza@hotmail.com>2020-10-14 20:41:30 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2020-10-14 20:41:30 +0300
commit89f5df35a877b146ad6ba05585a82ad9d39752e8 (patch)
tree692a1d76e6e8a4740e1eb523127bda3a959c5bc3 /UVtools.Core/FileFormats/ImageFile.cs
parent4230f8753dd0fad63c0b1a4b496494a07ed7c114 (diff)
v0.8.5.0v0.8.5.0
* (Add) Tool - Calculator: Convert millimeters to pixels * (Add) Tool - Calculator: Find the optimal "Ligth-Off Delay" * (Add) Internal abstraction of display size to all file formats * (Add) Default demo file that loads on startup when no file is specified (this can be disable/enabled on settings)
Diffstat (limited to 'UVtools.Core/FileFormats/ImageFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ImageFile.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/UVtools.Core/FileFormats/ImageFile.cs b/UVtools.Core/FileFormats/ImageFile.cs
index 3238cb7..2f2777b 100644
--- a/UVtools.Core/FileFormats/ImageFile.cs
+++ b/UVtools.Core/FileFormats/ImageFile.cs
@@ -37,6 +37,17 @@ namespace UVtools.Core.FileFormats
set => throw new NotImplementedException();
}
+ public override float DisplayWidth
+ {
+ get => ResolutionX;
+ set => ResolutionX = (uint) value;
+ }
+ public override float DisplayHeight
+ {
+ get => ResolutionY;
+ set => ResolutionY = (uint)value;
+ }
+
public override byte AntiAliasing { get; } = 1;
public override float LayerHeight { get; set; } = 0;
public override float PrintTime { get; } = 0;