func (b *Bitmap) GetDimensions() (int, int) { ptr := (*C.ALLEGRO_BITMAP)(b) var w, h C.int w = C.al_get_bitmap_width(ptr) h = C.al_get_bitmap_height(ptr) return int(w), int(h) }
// Gets the width of the bitmap. func (self *Bitmap) Width() int { return int(C.al_get_bitmap_width(self.handle)) }
func (b *Bitmap) GetWidth() int32 { return int32(C.al_get_bitmap_width((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)))) }