Provides an extension for surface resizing and croping. 更多...
| 頭: | #include <QWaylandWlScaler> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.13 |
| 繼承: | QWaylandCompositorExtensionTemplate |
該類已過時。 提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
該類在 Qt 5.13 引入。
| QWaylandWlScaler (QWaylandCompositor * compositor ) | |
| QWaylandWlScaler () |
| virtual void | initialize () override |
| const struct wl_interface * | interface () |
The QWaylandWlScaler extension provides a way for clients to resize and crop surface contents.
QWaylandWlScaler corresponds to the Wayland interface,
wl_scaler
.
wl_scaler
is a non-standard and deprecated protocol that has largely been replaced by
wp_viewporter
. I.e. This extensions is only useful for supporting legacy clients.
另請參閱 QWaylandViewporter .
Constructs a QWaylandWlScaler object for the provided compositor .
Constructs a QWaylandWlScaler object.
[override virtual]
void
QWaylandWlScaler::
initialize
()
Initializes the extension.
[static]
const
struct
wl_interface
*QWaylandWlScaler::
interface
()
返迴 Wayland 接口為 QWaylandWlScaler .