Trait gstreamer_video::prelude::VideoOrientationExt[][src]

pub trait VideoOrientationExt: 'static {
    fn hcenter(&self) -> Option<i32>;
fn hflip(&self) -> Option<bool>;
fn vcenter(&self) -> Option<i32>;
fn vflip(&self) -> Option<bool>;
fn set_hcenter(&self, center: i32) -> Result<(), BoolError>;
fn set_hflip(&self, flip: bool) -> Result<(), BoolError>;
fn set_vcenter(&self, center: i32) -> Result<(), BoolError>;
fn set_vflip(&self, flip: bool) -> Result<(), BoolError>; }
Expand description

Trait containing all VideoOrientation methods.

Implementors

VideoOrientation

Required methods

Get the horizontal centering offset from the given object.

Returns

true in case the element supports centering

center

return location for the result

Get the horizontal flipping state (true for flipped) from the given object.

Returns

true in case the element supports flipping

flip

return location for the result

Get the vertical centering offset from the given object.

Returns

true in case the element supports centering

center

return location for the result

Get the vertical flipping state (true for flipped) from the given object.

Returns

true in case the element supports flipping

flip

return location for the result

Set the horizontal centering offset for the given object.

center

centering offset

Returns

true in case the element supports centering

Set the horizontal flipping state (true for flipped) for the given object.

flip

use flipping

Returns

true in case the element supports flipping

Set the vertical centering offset for the given object.

center

centering offset

Returns

true in case the element supports centering

Set the vertical flipping state (true for flipped) for the given object.

flip

use flipping

Returns

true in case the element supports flipping

Implementors