add more bitmap examples

This commit is contained in:
vcaesar 2021-07-20 11:45:50 -04:00
parent 2a8a0e9d92
commit 7bbc39e975

View File

@ -132,6 +132,12 @@ func bitmapTest(bmp robotgo.CBitmap) {
fx, fy = robotgo.FindBitmap(bit)
fmt.Println("FindBitmap------", fx, fy)
fx, fy = robotgo.FindBitmap(bit, nil, 0.2)
fmt.Println("find bitmap: ", fx, fy)
fx, fy = robotgo.FindBitmap(bit, bitmap, 0.3)
fmt.Println("find bitmap: ", fx, fy)
}
func findBitmap(bmp robotgo.CBitmap) {