From ada146f45cac107928c55780b0adad94d332cdc6 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 15 May 2015 02:40:28 +0200 Subject: Add more methods --- cutter.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cutter.go') 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) { -- cgit v1.2.3