KDE screencast
用于管理不同显示器和窗口的 PipeWire 流的协议
警告!此文件中描述的协议是桌面环境的实现细节。普通客户端不得使用此协议。可能会在不增加扩展主版本号的情况下引入不兼容的变更。
stream_output(stream: new_id<zkde_screencast_stream_unstable_v1>, output: object<wl_output>, pointer: uint)
参数 | 类型 | 描述 |
|---|---|---|
| stream | new_id<zkde_screencast_stream_unstable_v1> | |
| output | object<wl_output> | |
| pointer | uint | Requested pointer mode |
从给定源请求一个流
stream_window(stream: new_id<zkde_screencast_stream_unstable_v1>, window_uuid: string, pointer: uint)
参数 | 类型 | 描述 |
|---|---|---|
| stream | new_id<zkde_screencast_stream_unstable_v1> | |
| window_uuid | string | window Identifier |
| pointer | uint | Requested pointer mode |
从给定源请求一个流
zkde_screencast_unstable_v1::destroy
类型: destructor
destroy()
销毁 zkde_screencast_unstable_v1 对象
销毁 zkde_screencast_unstable_v1 对象。
stream_virtual_output(stream: new_id<zkde_screencast_stream_unstable_v1>, name: string, width: int, height: int, scale: fixed, pointer: uint)
参数 | 类型 | 描述 |
|---|---|---|
| stream | new_id<zkde_screencast_stream_unstable_v1> | |
| name | string | name of the created output |
| width | int | Logical width resolution |
| height | int | Logical height resolution |
| scale | fixed | Scaling factor of the display where it's to be displayed |
| pointer | uint | Requested pointer mode |
从新的虚拟输出请求一个流
stream_region(stream: new_id<zkde_screencast_stream_unstable_v1>, x: int, y: int, width: uint, height: uint, scale: fixed, pointer: uint)
参数 | 类型 | 描述 |
|---|---|---|
| stream | new_id<zkde_screencast_stream_unstable_v1> | |
| x | int | Logical left position |
| y | int | Logical top position |
| width | uint | Logical width resolution |
| height | uint | Logical height resolution |
| scale | fixed | Scaling factor of the output recording |
| pointer | uint | Requested pointer mode |
从工作区中的区域请求一个流
从版本 5 起,如果给定的 scale 为 0.0,合成器将为该区域选择最高的缩放因子。
stream_virtual_output_with_description(stream: new_id<zkde_screencast_stream_unstable_v1>, name: string, description: string, width: int, height: int, scale: fixed, pointer: uint)
参数 | 类型 | 描述 |
|---|---|---|
| stream | new_id<zkde_screencast_stream_unstable_v1> | |
| name | string | name of the created output |
| description | string | user visible description of the created output |
| width | int | Logical width resolution |
| height | int | Logical height resolution |
| scale | fixed | Scaling factor of the display where it's to be displayed |
| pointer | uint | Requested pointer mode |
从新的虚拟输出请求一个流
合成器支持
未发现合成器支持
Copyright
SPDX-FileCopyrightText: 2020-2021 Aleix Pol Gonzalez <aleixpol@kde.org>
SPDX-License-Identifier: LGPL-2.1-or-later