|
Size: 1186
Comment: update content - SDL_Rect
|
Size: 1352
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 19: | Line 19: |
| ||'''src'''||a pointer to the [[SDL_Surface]] containing '''srcrect'''|| ||'''srcrect'''||a pointer to the source [[SDL_Rect]] to be queried|| ||'''dst'''||a pointer to the destination [[SDL_Surface]] containing '''dstrect'''|| ||'''dstrect'''||a pointer to the destination [[SDL_Rect]] to be filled|| |
||'''src'''||the [[SDL_Surface]] containing '''srcrect''' / the source rectangle|| ||'''srcrect'''||the [[SDL_Rect]] ^structure representing / describing^ ,,containing,, the source pixels|| ||'''dst'''||the [[SDL_Surface]] containing '''dstrect''' / the destination rectangle|| ||'''dstrect'''||the [[SDL_Rect]] ^structure^ to be filled ^with / by the blit^|| <<Color2(green,Note: This should probably end up looking a lot like BlitSurface after it is edited.)>> |
DRAFT |
SDL_LowerBlit
Use this function to perform low-level surface blitting only.
Contents
Syntax
int SDL_LowerBlit(SDL_Surface* src,
SDL_Rect* srcrect,
SDL_Surface* dst,
SDL_Rect* dstrect)
Function Parameters
src |
the SDL_Surface containing srcrect / the source rectangle |
srcrect |
the SDL_Rect structure representing / describing containing the source pixels |
dst |
the SDL_Surface containing dstrect / the destination rectangle |
dstrect |
the SDL_Rect structure to be filled with / by the blit |
green
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
This is a semi-private blit function and it performs low-level surface blitting only.
