SDL_SetClipRect
NAMESYNOPSIS
DESCRIPTION
SEE ALSO
NAME
SDL_SetClipRect − Sets the clipping rectangle for a surface.
SYNOPSIS
#include "SDL.h"
void SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect);
DESCRIPTION
Sets the clipping rectangle for a surface. When this surface is the destination of a blit, only the area within the clip rectangle will be drawn into.
The rectangle pointed to by rect will be clipped to the edges of the surface so that the clip rectangle for a surface can never fall outside the edges of the surface.
If rect is NULL the clipping rectangle will be set to the full size of the surface.
SEE ALSO
SDL_GetClipRect, SDL_BlitSurface, SDL_Surface
More Linux Commands
manpages/XtDirectConvert.3.html
XtDirectConvert(3) - invoke resource converters (Man Page)
The XtConvert function looks up the type converter registered to convert from_type to to_type, computes any additional arguments needed, and then calls XtDirect
manpages/use_window.3ncurses.html
use_window(3ncurses) - curses thread support (Man Page).....
This implementation can be configured to provide rudimentary support for multi-threaded applications. This makes a different set of libraries, e.g., libncursest
manpages/vwarnx.3.html
vwarnx(3) - formatted error messages - Linux manual page....
The err() and warn() family of functions display a formatted error message on the standard error output. In all cases, the last component of the program name, a
manpages/Tcl_SpliceChannel.3.html
Tcl_SpliceChannel(3) - procedures for creating and manipulat
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for
manpages/scanimage.1.html
scanimage(1) - scan an image (Commands - Linux man page)....
scanimage is a command-line interface to control image acquisition devices such as flatbed scanners or cameras. The device is controlled via command-line option
manpages/ddp.7.html
ddp(7) - Linux AppleTalk protocol implementation (Man Page)
Linux implements the AppleTalk protocols described in Inside AppleTalk. Only the DDP layer and AARP are present in the kernel. They are designed to be used via
manpages/plymouthd.8.html
plymouthd(8) The plymouth daemon (Admin - Linux man page)...
The plymouthd daemon is usually run out of the initrd. It does the heavy lifting of the plymouth system, logging the session and showing the splash screen. The
manpages/auparse_get_time.3.html
auparse_get_time(3) - get event's time - Linux manual page
auparse_get_time will access just the time portion of the timestamp data structure for the current event. RETURN VALUE Returns 0 if an error occurs; otherwise,
manpages/meta.3ncurses.html
meta(3ncurses) - curses input options - Linux manual page...
Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The cbreak routine disables line buffering and erase/kill charact
manpages/s3.4.html
s3(4) - S3 video driver (Special files - Linux man page)....
s3 is an Xorg driver for S3 based video cards. The driver provides full accelerated support for the following colour depths: 8, 15, 16 and 24. The overlay video
manpages/strings.1.html
strings(1) - print the strings of printable characters in fi
For each file given, GNU strings prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and a
manpages/outsw.2.html
outsw(2) - port I/O (System calls - Linux man page).........
This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port input; the b-suffix functio
