Struct sw_composite::MatrixFixedPoint
source · pub struct MatrixFixedPoint {
pub xx: i32,
pub xy: i32,
pub yx: i32,
pub yy: i32,
pub x0: i32,
pub y0: i32,
}
Fields§
§xx: i32
§xy: i32
§yx: i32
§yy: i32
§x0: i32
§y0: i32
Implementations§
source§impl MatrixFixedPoint
impl MatrixFixedPoint
pub fn transform(&self, x: u16, y: u16) -> PointFixedPoint
Trait Implementations§
source§impl Clone for MatrixFixedPoint
impl Clone for MatrixFixedPoint
source§fn clone(&self) -> MatrixFixedPoint
fn clone(&self) -> MatrixFixedPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more