pub fn transform_point(&self, x: f32, y: f32) -> (f32, f32) {
        let Transform2D(ref a) = self;

        (
            x*a[0][0] + y*a[0][1] + 1.0*a[0][2],
            x*a[1][0] + y*a[1][1] + 1.0*a[1][2]
        )
    }
///
/// Applies this transformation to a point, returning the transformed point
///
Applies this transformation to a point, returning the transformed point
Applies this transformation to a point returning the transformed point
pub fn transform_point(&self, x: f32, y: f32) -> (f32, f32) {
        let Transform2D(ref a) = self;
        (
            x*a[0][0] + y*a[0][1] + 1.0*a[0][2],
            x*a[1][0] + y*a[1][1] + 1.0*a[1][2]
        )
    }
pub fn transform_point ( & self , x : f32 , y : f32 ) -> ( f32 , f32 ) { let Transform2D ( ref a ) = self ; ( x * a [ 0 ] [ 0 ] + y * a [ 0 ] [ 1 ] + 1.0 * a [ 0 ] [ 2 ] , x * a [ 1 ] [ 0 ] + y * a [ 1 ] [ 1 ] + 1.0 * a [ 1 ] [ 2 ] ) }
Applies this transformation to a point, returning the transformed point
Applies this transformation to a point returning the transformed point
&self
x
f32
y
f32