Beispiel #1
0
// 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())
}
Beispiel #2
0
func (c Color) PutBlendedPixel(x, y int) {
	C.al_put_blended_pixel(C.int(x), C.int(y), (C.ALLEGRO_COLOR)(c))
}
Beispiel #3
0
func PutBlendedPixel(x, y int32, c *Color) {
	C.al_put_blended_pixel(C.int(x), C.int(y), (C.ALLEGRO_COLOR)(*c))
}