From 871e430030b1beae6d2692ed8b6b1e4aae9820d4 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 23 Apr 2015 12:01:10 +0200 Subject: Add On/Off type --- cutter.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cutter.go') 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} -- cgit v1.2.3