[−][src]Module wayland_raw_protocol_bindings::client::viewporter::wp_viewporter
surface cropping and scaling
The global interface exposing surface cropping and scaling capabilities is used to instantiate an interface extension for a wl_surface object. This extended interface will then allow cropping and scaling the surface contents, effectively disconnecting the direct relationship between the buffer and the surface size.
Enums
error | |
wp_viewporter |
Statics
wp_viewporter_interface | C representation of this interface, for interop |
wp_viewporter_requests | C-representation of the messages of this interface, for interop |
Traits
wp_viewporter_listener | An interface for handling events. |
Functions
wp_viewporter_add_listener⚠ | |
wp_viewporter_add_rust_listener⚠ | |
wp_viewporter_destroy⚠ | unbind from the cropping and scaling interface |
wp_viewporter_get_user_data⚠ | |
wp_viewporter_get_version⚠ | |
wp_viewporter_get_viewport⚠ | extend surface interface for crop and scale |
wp_viewporter_set_user_data⚠ |