func (b *Bitmap) GetParentBitmap() *Bitmap { var bmp *Bitmap bmp = (*Bitmap)(C.al_get_parent_bitmap((*C.ALLEGRO_BITMAP)(b))) return bmp }
// Returns the parent bitmap of this sub bitmap, or nil if there is no parent. // This is a raw bitmap that has no finaliser set on it since likely /// this function will only be used for inspection. func (self *Bitmap) Parent() *Bitmap { return wrapBitmapRaw(C.al_get_parent_bitmap(self.handle)) }
func (b *Bitmap) GetParent() *Bitmap { return (*Bitmap)(unsafe.Pointer(C.al_get_parent_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b))))) }