aboutsummaryrefslogtreecommitdiff
path: root/marks.go
blob: 385cda6367fc50ac5b4a82f061b5cc0ed680a263 (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
46
47
package robo

import "bufio"

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

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

/*
	Type1

	 |	|
	-+	+-


	-+
	 |

	Type2

	+-	-+
	|	 |


	|
	+-
*/

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

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

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