Documentation
¶
Overview ¶
Package coords converts between computer-use coordinate spaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Point ¶
Point is a point in window-local coordinates.
func ScreenshotPointToWindowLocal ¶
func ScreenshotPointToWindowLocal(window computeruse.WindowInfo, x, y int) (Point, error)
ScreenshotPointToWindowLocal converts screenshot pixel coordinates to window-local point coordinates. It accounts for Retina scale by using the captured screenshot dimensions instead of assuming pixels and points match.