Method SDL.Surface()->set_pixel()
- Method set_pixel
intset_pixel(intx,inty,intpixel)- Description
Set the value of the specified pixel. The surface needs to be locked before this method can be used.
- Parameter
x - Parameter
y Pixel coordinate to modify.
- Parameter
pixel Pixel value to set to the specified pixel.
- Returns
A reference to the surface itself.
- See also