Provides an extension for surface resizing and cropping. 更多...
头: | #include <QWaylandViewporter> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.13 |
继承: | QWaylandCompositorExtensionTemplate |
该类在 Qt 5.13 引入。
QWaylandViewporter (QWaylandCompositor * compositor ) | |
QWaylandViewporter () |
virtual void | initialize () override |
const struct wl_interface * | interface () |
The QWaylandViewporter extension provides a way for clients to resize and crop surface contents.
QWaylandViewporter corresponds to the Wayland interface,
wp_viewporter
.
Constructs a QWaylandViewporter object for the provided compositor .
Constructs a QWaylandViewporter object.
[override virtual]
void
QWaylandViewporter::
initialize
()
Initializes the extension.
[static]
const
struct
wl_interface
*QWaylandViewporter::
interface
()
返回 Wayland 接口为 QWaylandViewporter .