Function fermium::renderer::SDL_RenderDrawPoint
source · pub unsafe extern "C" fn SDL_RenderDrawPoint(
renderer: *mut SDL_Renderer,
x: c_int,
y: c_int
) -> c_int
Expand description
Draw a point on the current rendering target.
renderer
The renderer which should draw a point.x
The x coordinate of the point.y
The y coordinate of the point.
Returns: 0 on success, or -1 on error