summaryrefslogtreecommitdiff
path: root/src/sliceitoff/display/static.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-16 11:11:56 +0200
committerViljami Ilola <+@hix.fi>2024-03-16 11:11:56 +0200
commit85adc89f53763b4390f7e51161a05ab394143152 (patch)
treeb63de708a75d7ea3fd961f8d63ca2af381cb66c5 /src/sliceitoff/display/static.py
parent5d921239e0577988e2b7814025149d9160ecbdda (diff)
drafting game components
Diffstat (limited to 'src/sliceitoff/display/static.py')
-rw-r--r--src/sliceitoff/display/static.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py
new file mode 100644
index 0000000..43dc385
--- /dev/null
+++ b/src/sliceitoff/display/static.py
@@ -0,0 +1,11 @@
+from dataclasses import dataclass
+
+INTERNAL_WIDTH = 40000
+INTERNAL_HEIGHT = 30000
+INTERNAL_ASPECT = INTERNAL_WIDTH / INTERNAL_HEIGHT
+
+@dataclass
+class Scaling():
+ scale: float
+ left: int
+ top: int