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