aboutsummaryrefslogtreecommitdiff
path: root/marks.go
blob: 75d56d60c5992fe1c6e9ff569f532bc6d1e19792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main

/*	Landscape		Portrait
	+- H -+			+- W -+
	|x1  3|			|2  1x|

	W ->			   |  H
				   v
	|2			     3|
	+-			     -+
*/

func (c Cutter) DrawMarks(offset, size Point, length int) {
	c.Move(Point{600, 3800})
	c.Draw(Point{200, 3800})
	c.Draw(Point{200, 3400})

	c.Move(Point{200, 600})
	c.Draw(Point{200, 200})
	c.Draw(Point{600, 200})

	c.Move(Point{4840, 200})
	c.Draw(Point{5240, 200})
	c.Draw(Point{5240, 600})
}