Enum wayland_client::wayland::output::WlOutputTransform [] [src]

pub enum WlOutputTransform {
    Normal,
    T90,
    T180,
    T270,
    Flipped,
    Flipped90,
    Flipped180,
    Flipped270,
}

transform from framebuffer to output

This describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device.

The flipped values correspond to an initial flip around a vertical axis followed by rotation.

The purpose is mainly to allow clients render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces.

Variants

NormalT90T180T270FlippedFlipped90Flipped180Flipped270

Trait Implementations

impl Debug for WlOutputTransform
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.