aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-04 23:19:46 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-04 23:19:46 +0200
commit91d3472be75004b6e937cd57ad27a8a6f6872b09 (patch)
tree1c331bbc67feabc754cee1e21b084f55de6647b4 /main.go
parent957ef9104e09477186bd39faa35f21ec3485e937 (diff)
More functions
Diffstat (limited to 'main.go')
-rw-r--r--main.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/main.go b/main.go
index 6587821..eca1d9b 100644
--- a/main.go
+++ b/main.go
@@ -1,5 +1,7 @@
package main
+import "fmt"
+
func main() {
dev := NewDevice()
defer dev.Close()
@@ -18,14 +20,12 @@ func main() {
//fmt.Println(c.UnknownFQ5())
//c.Bezier(1, Point{0,0},Point{0,1000},Point{0,0},Point{1000,0})
//c.DrawCircles()
- if !c.SearchMarks(Point{5240, 3800}, 400) {
- return
- }
-
- for _, path := range parsePage() {
- c.Move(path[0])
- for _, p := range path[1:] {
- c.Draw(p)
- }
- }
+
+ fmt.Println("Gin", c.Gin())
+ fmt.Println("Call Gin", c.CallGin())
+
+ fmt.Println("Offset", c.ReadOffset())
+ fmt.Println("Upper Right", c.ReadUpperRight())
+ fmt.Println("Lower Left", c.ReadLowerLeft())
+
}