Example #1
0
func (b *Bitmap) DrawTintedRotated(cx, cy, dx, dy, angle float32, flags int, color Color) {

	C.al_draw_tinted_rotated_bitmap((*C.ALLEGRO_BITMAP)(b), (C.ALLEGRO_COLOR)(color),
		C.float(cx), C.float(cy),
		C.float(dx), C.float(dy), C.float(angle), C.int(flags))

}
Example #2
0
func (b *Bitmap) DrawTintedRotated(c *Color, cx, cy, dx, dy, angle float32, flags int32) {
	C.al_draw_tinted_rotated_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)), (C.ALLEGRO_COLOR)(*c), C.float(cx), C.float(cy), C.float(dx), C.float(dy), C.float(angle), C.int(flags))
}