[][src]Module wayland_protocols::viewporter::client::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.

Structs

WpViewporter

Enums

Error
Event
Request

Constants

REQ_DESTROY_SINCE

The minimal object version supporting this request

REQ_GET_VIEWPORT_SINCE

The minimal object version supporting this request

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

EventHandler

An interface for handling events.