go-tg-screenshot-bot

Форк
0
25 строк · 768.0 Байт
1
//go:build s390x || ppc64le || (!(cgo && darwin) && !windows && !linux && !freebsd && !openbsd && !netbsd)
2

3
package screenshot
4

5
import (
6
	"image"
7
)
8

9
// Capture returns screen capture of specified desktop region.
10
// x and y represent distance from the upper-left corner of primary display.
11
// Y-axis is downward direction. This means coordinates system is similar to Windows OS.
12
func Capture(x, y, width, height int) (*image.RGBA, error) {
13
	return nil, ErrUnsupported
14
}
15

16
// NumActiveDisplays returns the number of active displays.
17
func NumActiveDisplays() int {
18
	return 0
19
}
20

21
// GetDisplayBounds returns the bounds of displayIndex'th display.
22
// The main display is displayIndex = 0.
23
func GetDisplayBounds(displayIndex int) image.Rectangle {
24
	return image.Rectangle{}
25
}
26

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.