Function sdl2_sys::SDL_RenderDrawPoints
source ยท pub unsafe extern "C" fn SDL_RenderDrawPoints(
renderer: *mut SDL_Renderer,
points: *const SDL_Point,
count: c_int,
) -> c_int
Expand description
Draw multiple points on the current rendering target.
\param renderer the rendering context \param points an array of SDL_Point structures that represent the points to draw \param count the number of points to draw \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_RenderDrawPoint \sa SDL_RenderDrawRect \sa SDL_RenderDrawRects \sa SDL_RenderFillRect \sa SDL_RenderFillRects \sa SDL_RenderPresent \sa SDL_SetRenderDrawBlendMode \sa SDL_SetRenderDrawColor