Fill an area of a specified buffer.
#include <screen/screen.h>
int screen_fill(screen_context_t ctx, screen_buffer_t dst, const int *attribs)
A connection to Screen
The buffer which data will be copied to.
A list that contains the attributes that define the blit. This list must consist of a series of token-value pairs terminated with a SCREEN_BLIT_END token. The tokens used in this list must be of type Screen blit types.
Function Type: Delayed Execution
This function requests that a rectangular area of the destination buffer be filled with a solid color.
0 if the blit command was queued, or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).