Пример #1
0
// Gets the format of the bitmap.
func (self *Bitmap) Format() int {
	return int(C.al_get_bitmap_format(self.handle))
}
Пример #2
0
func (b *Bitmap) GetFormat() int32 {
	return int32(C.al_get_bitmap_format((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b))))
}