|
Size: 1116
Comment: correct typo
|
Size: 1063
Comment: Removed links to SDL_DirtyTexture and SDL_RenderWritePixels.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 25: | Line 25: |
| .[[SDL_DirtyTexture]] | |
| Line 35: | Line 34: |
| .[[SDL_RenderWritePixels]] |
SDL_Rect
A structure that defines a rectangle, with the origin at the upper left.
Data Fields
int |
x |
the x location of the rectangle's upper left corner |
int |
y |
the y location of the rectangle's upper left corner |
int |
w |
the width of the rectangle |
int |
h |
the height of the rectangle |
Code Examples
You can add your code example here
Remarks
An SDL_Rect defines a rectangular area of the screen. It is used by SDL_BlitSurface() to define blitting regions and by several other video functions.
