示例#1
0
文件: bitmap.go 项目: beoran/algo
// Blends a pixel to the currently active bitmap
func PutBlendedPixel(x, y int, color Color) {
	C.al_put_blended_pixel(C.int(x), C.int(y), color.toC())
}
示例#2
0
func (c Color) PutBlendedPixel(x, y int) {
	C.al_put_blended_pixel(C.int(x), C.int(y), (C.ALLEGRO_COLOR)(c))
}
示例#3
0
func PutBlendedPixel(x, y int32, c *Color) {
	C.al_put_blended_pixel(C.int(x), C.int(y), (C.ALLEGRO_COLOR)(*c))
}