[−][src]Struct core_graphics::geometry::CGAffineTransform
Fields
a: CGFloat
b: CGFloat
c: CGFloat
d: CGFloat
tx: CGFloat
ty: CGFloat
Implementations
impl CGAffineTransform
[src]
pub fn new(
a: CGFloat,
b: CGFloat,
c: CGFloat,
d: CGFloat,
tx: CGFloat,
ty: CGFloat
) -> CGAffineTransform
[src]
a: CGFloat,
b: CGFloat,
c: CGFloat,
d: CGFloat,
tx: CGFloat,
ty: CGFloat
) -> CGAffineTransform
pub fn make_translation(tx: CGFloat, ty: CGFloat) -> CGAffineTransform
[src]
pub fn make_rotation(angle: CGFloat) -> CGAffineTransform
[src]
pub fn make_scale(sx: CGFloat, sy: CGFloat) -> CGAffineTransform
[src]
pub fn translate(&self, tx: CGFloat, ty: CGFloat) -> CGAffineTransform
[src]
pub fn rotate(&self, angle: CGFloat) -> CGAffineTransform
[src]
pub fn scale(&self, sx: CGFloat, sy: CGFloat) -> CGAffineTransform
[src]
pub fn invert(&self) -> CGAffineTransform
[src]
pub fn concat(&self, t: CGAffineTransform) -> CGAffineTransform
[src]
Trait Implementations
impl Clone for CGAffineTransform
[src]
fn clone(&self) -> CGAffineTransform
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CGAffineTransform
[src]
impl Debug for CGAffineTransform
[src]
impl Default for CGAffineTransform
[src]
fn default() -> CGAffineTransform
[src]
impl PartialEq<CGAffineTransform> for CGAffineTransform
[src]
Auto Trait Implementations
impl RefUnwindSafe for CGAffineTransform
impl Send for CGAffineTransform
impl Sync for CGAffineTransform
impl Unpin for CGAffineTransform
impl UnwindSafe for CGAffineTransform
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,