From ca463c32cdec30627749db5f1cf846192f0ef53e Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 14 Sep 2018 07:40:58 -0400 Subject: [PATCH] update godoc --- robotgo.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/robotgo.go b/robotgo.go index c799575..cf35dca 100644 --- a/robotgo.go +++ b/robotgo.go @@ -793,6 +793,8 @@ func TocharBitmap(bit C.MMBitmapRef) *C.char { } // GetText get the image text by tesseract ocr +// +// robotgo.GetText(imgPath, lang string) func GetText(imgPath string, args ...string) (string, error) { var lang = "eng" @@ -977,6 +979,8 @@ func PointInBounds(bitmap C.MMBitmapRef, x, y int) bool { } // OpenBitmap open the bitmap return C.MMBitmapRef +// +// robotgo.OpenBitmap(path string, type int) func OpenBitmap(gpath string, args ...int) C.MMBitmapRef { path := C.CString(gpath) var mtype C.uint16_t = 1