aboutsummaryrefslogtreecommitdiff
path: root/marks.go
blob: 916381e4613b6b92e44b64b74d3c5c35766869ca (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package main

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

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

/*
	Type1

	 |	|
	-+	+-


	-+
	 |

	Type2

	+-	-+
	|	 |


	|
	+-
*/

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})
}