From 3b119e80968d9267da4753687a6740d1189daa80 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 15 May 2015 14:31:57 +0200 Subject: Reorganize definitions --- cutter.go | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'cutter.go') diff --git a/cutter.go b/cutter.go index 4abc479..bc78a9c 100644 --- a/cutter.go +++ b/cutter.go @@ -30,8 +30,6 @@ import ( Usable: 4000x5440 pt */ -var A4 = Point{272 * MM, 200 * MM} // Portrait - type Cutter struct { *bufio.ReadWriter } @@ -159,20 +157,6 @@ func (c Cutter) MoveRelative(p Point) { c.Send("O", p) } -type LineStyle int - -const ( - Solid LineStyle = iota - Dots - ShortDash - Dash - LongDash - DashDot - DashLongDot - DashDoubleDot - DashLongDoubleDot -) - const ( Custom1 LineStyle = iota + 100 // 2 args ? --a-- b --a-- Custom2 // 3 args ? --a-- b -c- b -c- b --a-- @@ -355,13 +339,6 @@ func (c Cutter) Wait() { } } -type Orientation int - -const ( - Portrait Orientation = iota - Landscape -) - func (c Cutter) Orientation(l Orientation) { c.Send("FN", l) } -- cgit v1.2.3