package
0.0.0-20241029195437-1fbd8b4a9917
Repository: https://github.com/raitonoberu/go-wayland.git
Documentation: pkg.go.dev
# 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.
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.
# 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