QWaylandWlScaler Class

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 .

成員函數文檔編製

QWaylandWlScaler:: QWaylandWlScaler ( QWaylandCompositor * compositor )

Constructs a QWaylandWlScaler object for the provided compositor .

QWaylandWlScaler:: QWaylandWlScaler ()

Constructs a QWaylandWlScaler object.

[override virtual] void QWaylandWlScaler:: initialize ()

Initializes the extension.

[static] const struct wl_interface *QWaylandWlScaler:: interface ()

返迴 Wayland 接口為 QWaylandWlScaler .