[−][src]Struct qt_gui::q_image_io_handler::Transformation
This enum describes the different transformations or orientations supported by some image formats, usually through EXIF.
C++ enum: QImageIOHandler::Transformation
.
This enum describes the different transformations or orientations supported by some image formats, usually through EXIF.
This enum was introduced or modified in Qt 5.5.
The Transformations type is a typedef for QFlags<Transformation>. It stores an OR combination of Transformation values.
See also QImageReader::transformation(), QImageReader::setAutoTransform(), and QImageWriter::setTransformation().
Methods
impl Transformation
[src]
impl Transformation
[src]
pub const TransformationNone: Transformation
[src]
No transformation should be applied. (C++ enum variant: TransformationNone = 0
)
pub const TransformationMirror: Transformation
[src]
Mirror the image horizontally. (C++ enum variant: TransformationMirror = 1
)
pub const TransformationFlip: Transformation
[src]
Mirror the image vertically. (C++ enum variant: TransformationFlip = 2
)
pub const TransformationRotate180: Transformation
[src]
Rotate the image 180 degrees. This is the same as mirroring it both horizontally and vertically. (C++ enum variant: TransformationRotate180 = 3
)
pub const TransformationRotate90: Transformation
[src]
Rotate the image 90 degrees. (C++ enum variant: TransformationRotate90 = 4
)
pub const TransformationMirrorAndRotate90: Transformation
[src]
Mirror the image horizontally and then rotate it 90 degrees. (C++ enum variant: TransformationMirrorAndRotate90 = 5
)
pub const TransformationFlipAndRotate90: Transformation
[src]
Mirror the image vertically and then rotate it 90 degrees. (C++ enum variant: TransformationFlipAndRotate90 = 6
)
pub const TransformationRotate270: Transformation
[src]
Rotate the image 270 degrees. This is the same as mirroring it both horizontally, vertically and then rotating it 90 degrees. (C++ enum variant: TransformationRotate270 = 7
)
Trait Implementations
impl<T: Into<QFlags<Transformation>>> BitOr<T> for Transformation
[src]
type Output = QFlags<Transformation>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<Transformation>
[src]
impl Clone for Transformation
[src]
fn clone(&self) -> Transformation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Transformation
[src]
impl Debug for Transformation
[src]
impl Eq for Transformation
[src]
impl From<Transformation> for c_int
[src]
fn from(value: Transformation) -> Self
[src]
impl From<Transformation> for QFlags<Transformation>
[src]
fn from(value: Transformation) -> Self
[src]
impl From<i32> for Transformation
[src]
impl PartialEq<Transformation> for Transformation
[src]
fn eq(&self, other: &Transformation) -> bool
[src]
fn ne(&self, other: &Transformation) -> bool
[src]
impl StructuralEq for Transformation
[src]
impl StructuralPartialEq for Transformation
[src]
Auto Trait Implementations
impl RefUnwindSafe for Transformation
impl Send for Transformation
impl Sync for Transformation
impl Unpin for Transformation
impl UnwindSafe for Transformation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,