Struct allegro::SubBitmap
[−]
[src]
pub struct SubBitmap<'m> { // some fields omitted }
pub struct SubBitmap<'m> { // some fields omitted }
impl<'m> SubBitmap<'m>
[src]fn create_sub_bitmap<'l>(&'l self, x: i32, y: i32, w: i32, h: i32) -> Result<SubBitmap<'l>, ()>
fn get_parent<'l>(&'l self) -> &'l Bitmap
fn to_bitmap(&self) -> Result<Bitmap, ()>
impl<'m> BitmapLike for SubBitmap<'m>
[src]fn get_allegro_bitmap(&self) -> *mut ALLEGRO_BITMAP
fn get_width(&self) -> i32
fn get_height(&self) -> i32
fn get_format(&self) -> PixelFormat
fn get_flags(&self) -> BitmapFlags
fn get_pixel(&self, x: i32, y: i32) -> Color
fn convert_mask_to_alpha(&self, mask_color: Color)
impl<'l> Drop for SubBitmap<'l>
[src]