[−][src]Function sdl2_sys::SDL_SetRenderDrawColor
pub unsafe extern "C" fn SDL_SetRenderDrawColor(
renderer: *mut SDL_Renderer,
r: Uint8,
g: Uint8,
b: Uint8,
a: Uint8
) -> c_int
\brief Set the color used for drawing operations (Rect, Line and Clear).
\param renderer The renderer for which drawing color should be set. \param r The red value used to draw on the rendering target. \param g The green value used to draw on the rendering target. \param b The blue value used to draw on the rendering target. \param a The alpha value used to draw on the rendering target, usually ::SDL_ALPHA_OPAQUE (255).
\return 0 on success, or -1 on error