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 .