aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-15 02:40:28 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-15 02:40:28 +0200
commitada146f45cac107928c55780b0adad94d332cdc6 (patch)
tree4bb93690cf38728990b7f4b77fb0186eb61e8bd8 /cutter.go
parente3cae1b64560df748350dc4c0b11a95ac3a1d4f6 (diff)
Add more methods
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/cutter.go b/cutter.go
index ff2f0a5..d77a5a2 100644
--- a/cutter.go
+++ b/cutter.go
@@ -30,10 +30,7 @@ import (
Usable: 4000x5440 pt
*/
-var (
- A4 = Point{272 * MM, 200 * MM} // Portrait
- Origin = Point{0, 0}
-)
+var A4 = Point{272 * MM, 200 * MM} // Portrait
type Cutter struct {
*bufio.ReadWriter
@@ -178,8 +175,8 @@ const (
const (
Custom1 LineStyle = iota + 100 // 2 args ? --a-- b --a--
- Custom2 // 3 args ? --a-- b -c- b -c- b --a--
- Custom3 // 3 args ? --a-- b -c- b --a--
+ Custom2 // 3 args ? --a-- b -c- b -c- b --a--
+ Custom3 // 3 args ? --a-- b -c- b --a--
)
func (c Cutter) LineType(n LineStyle) {