示例#1
0
func (b *Bitmap) DrawTintedScaledRotated(cx, cy, dx, dy, xscale, yscale, angle float32,
	flags int, color Color) {

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

}
示例#2
0
func (b *Bitmap) DrawTintedScaledRotated(c *Color, cx, cy, dx, dy, xscale, yscale, angle float32, flags int32) {
	C.al_draw_tinted_scaled_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(xscale), C.float(yscale), C.float(angle), C.int(flags))
}