fn pixcol(&self, x:i32, y:i32) -> Color {
        let p = self.width()as i32 * y + x;
        if self.mask.borrow().data()[p as usize].r() > 0 {
            self.image.borrow().data()[p as usize]}
        else {Color::rgba(255,255,255,255)}
    }
///return rgba color of image pixel at position (x,y)
//  NOT SAFE if x & y are out of bounds, but fast.
//  With mask support 
return rgba color of image pixel at position (x,y)
NOT SAFE if x & y are out of bounds, but fast.
With mask support
return rgba color of image pixel at position ( x y ) NOT SAFE if x & y are out of bounds but fast . With mask support
fn pixcol(&self, x:i32, y:i32) -> Color {
        let p = self.width()as i32 * y + x;
        if self.mask.borrow().data()[p as usize].r() > 0 {
            self.image.borrow().data()[p as usize]}
        else {Color::rgba(255,255,255,255)}
    }
fn pixcol ( & self , x : i32 , y : i32 ) -> Color { let p = self . width ( ) as i32 * y + x ; if self . mask . borrow ( ) . data ( ) [ p as usize ] . r ( ) > 0 { self . image . borrow ( ) . data ( ) [ p as usize ] } else { Color :: rgba ( 255 , 255 , 255 , 255 ) } }
return rgba color of image pixel at position (x,y)
NOT SAFE if x & y are out of bounds, but fast.
return rgba color of image pixel at position ( x y ) NOT SAFE if x & y are out of bounds but fast .
&self
x
i32
y
i32
&self
x
i32
y
i32