aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-23 12:01:10 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-23 12:01:10 +0200
commit871e430030b1beae6d2692ed8b6b1e4aae9820d4 (patch)
tree2654479a45c7f92bab61b074af7bbb9496ed6034 /cutter.go
parent6e71353e2f48c188e0337eae9f6ced870aed7ac0 (diff)
Add On/Off type
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cutter.go b/cutter.go
index 5a3507c..6f57ab4 100644
--- a/cutter.go
+++ b/cutter.go
@@ -34,6 +34,13 @@ type Point struct {
Usable: 4000x5440 pt
*/
+type OnOff int
+
+const (
+ On OnOff = iota
+ Off
+)
+
var (
A4 = Point{5440, 4000} // Portrait
Origin = Point{0, 0}