aboutsummaryrefslogtreecommitdiff
path: root/marks.go
diff options
context:
space:
mode:
Diffstat (limited to 'marks.go')
-rw-r--r--marks.go36
1 files changed, 5 insertions, 31 deletions
diff --git a/marks.go b/marks.go
index 9284693..f388145 100644
--- a/marks.go
+++ b/marks.go
@@ -1,7 +1,5 @@
package robo
-import "bufio"
-
/* Landscape Portrait
+- H -+ +- W -+
|x1 3| |2 1x|
@@ -11,41 +9,17 @@ import "bufio"
|2 3|
+- -+
*/
-
/*
- Type1
-
- | |
- -+ +-
-
-
- -+
- |
+ Type1 Type2
- 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)
-}
-
func (r Robo) DrawMarks() {
r.Line(Point{600, 3800}, Point{200, 3800}, Point{200, 3400})
r.Line(Point{200, 600}, Point{200, 200}, Point{600, 200})