WaylandSurface QML Type
Represents a rectangular area on an output device. More...
|Import Statement:||import QtWayland.Compositor 1.13|
- bufferScale : size
- bufferSize : size
- client : WaylandClient
- contentOrientation : enum
- cursorSurface : bool
- destinationSize : size
- hasContent : bool
- origin : enum
- sourceGeometry : rect
- useTextureAlpha : bool
- void destroy()
- void initialize(compositor, WaylandClient client, int id, int version)
- bool isDestroyed()
This type encapsulates a rectangular area of pixels that is displayed on an output device. It corresponds to the interface
wl_surface in the Wayland protocol.
bufferScale : size
This property holds the WaylandSurface's buffer scale. The buffer scale lets a client supply higher resolution buffer data for use on high resolution outputs.
bufferSize : size
destinationSize : size
It can have the following values:
sourceGeometry : rect
useTextureAlpha : bool
This property specifies whether the surface should use texture alpha.
This signal is emitted when a wl_subsurface, child, has been added to the surface.
Destroys the WaylandSurface.
Initializes the WaylandSurface with the given compositor and client, and with the given id and version.
© 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.