From 5cccd9dd5befd33d643d08fea3598ff6df81a8bf Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 23 Apr 2015 02:00:02 +0200 Subject: Add page --- cutter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cutter.go') diff --git a/cutter.go b/cutter.go index cffe0c6..5a3507c 100644 --- a/cutter.go +++ b/cutter.go @@ -192,14 +192,14 @@ func (c Cutter) Bezier(a int, p0, p1, p2, p3 Point) { fmt.Fprintf(c, "BZ%v,%v,%v,%v,%v", a, p0, p1, p2, p3) } -type Page int +type Orientation int const ( - Portrait Page = iota + Portrait Orientation = iota Landscape ) -func (c Cutter) Orientation(l Page) { +func (c Cutter) Orientation(l Orientation) { defer c.EOT() fmt.Fprint(c, "FN", l) } -- cgit v1.2.3