Exemplo n.º 1
0
func (b *Bitmap) Draw(dx, dy float32, flags int) {

	C.al_draw_bitmap((*C.ALLEGRO_BITMAP)(b), C.float(dx), C.float(dy), C.int(flags))

}
Exemplo n.º 2
0
func (b *Bitmap) Draw(dx, dy float32, flags int32) {
	C.al_draw_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)), C.float(dx), C.float(dy), C.int(flags))
}