mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
Update: update examples
This commit is contained in:
parent
bb76af18f0
commit
23d3df9027
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ func main() {
|
|||
// robotgo.SaveBitmap(bitmap, "test.png")
|
||||
robotgo.Save(robotgo.ToImage(bitmap), "test.png")
|
||||
|
||||
sx := robotgo.ScaleX()
|
||||
s := robotgo.Scale()
|
||||
sx := robotgo.ScaleX() // Deprecated
|
||||
s := robotgo.Scale1() // Deprecated, use the ScaleF() function
|
||||
robotx, roboty := 35*s/100, 25*s/100
|
||||
fmt.Println("scale: ", sx, s, " pos: ", robotx, roboty)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue