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.

SDL_RenderDrawPoint() draws a single point. If you want to draw multiple, use SDL_RenderDrawPoints() instead.

\param renderer the rendering context \param x the x coordinate of the point \param y the y coordinate of the point \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_RenderDrawLine \sa SDL_RenderDrawLines \sa SDL_RenderDrawPoints \sa SDL_RenderDrawRect \sa SDL_RenderDrawRects \sa SDL_RenderFillRect \sa SDL_RenderFillRects \sa SDL_RenderPresent \sa SDL_SetRenderDrawBlendMode \sa SDL_SetRenderDrawColor