WlScaler QML Type
Provides an extension for surface resizing and cropping. More...
|Import Statement:||import QtWayland.Compositor 1.13|
The WlScaler extension provides a way for clients to resize and crop surface contents.
WlScaler corresponds to the Wayland interface,
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.
wp_viewporter support is enabled automatically for all Qml compositors.
To provide the functionality of the extension in a compositor, create an instance of the WlScaler component and add it to the list of extensions supported by the compositor:
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.