2026-03-05 00:04:26 -06:00
|
|
|
package capture
|
|
|
|
|
|
|
|
|
|
import "image"
|
|
|
|
|
|
|
|
|
|
type MonitorInfo struct {
|
|
|
|
|
Width int `msgpack:"width"`
|
|
|
|
|
Height int `msgpack:"height"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func DisplayBounds(idx int) image.Rectangle {
|
|
|
|
|
return displayBounds(idx)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func DisplayScale(idx int) float64 {
|
|
|
|
|
return displayScale(idx)
|
|
|
|
|
}
|