# Functions
NewViewport : crop and scale interface to a wl_surface
An additional interface to a wl_surface object, which allows the client to specify the cropping and scaling of the surface contents.
NewViewporter : 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.
# Constants
ViewporterErrorViewportExists : the surface already has a viewport object associated.
ViewporterInterfaceName is the name of the interface as it appears in the [client.Registry].
ViewportErrorBadSize : destination size is not integer.
ViewportErrorBadValue : negative or zero values in width or height.
ViewportErrorNoSurface : the wl_surface was destroyed.
ViewportErrorOutOfBuffer : source rectangle extends outside of the content area.
ViewportInterfaceName is the name of the interface as it appears in the [client.Registry].
# Structs
Viewport : crop and scale interface to a wl_surface
An additional interface to a wl_surface object, which allows the client to specify the cropping and scaling of the surface contents.
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.
# Type aliases
No description provided by the author
No description provided by the author