Esempio n. 1
0
func (b *Bitmap) Clone() *Bitmap {
	var n *Bitmap

	n = (*Bitmap)(C.al_clone_bitmap((*C.ALLEGRO_BITMAP)(b)))

	return n
}
Esempio n. 2
0
// Returns a clone of the bitmap, that will automatically be
// destroyed.
func (self *Bitmap) Clone() *Bitmap {
	return wrapBitmap(C.al_clone_bitmap(self.handle))
}
Esempio n. 3
0
func (b *Bitmap) Clone() *Bitmap {
	return (*Bitmap)(unsafe.Pointer(C.al_clone_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)))))
}