Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-09-03 17:00:11
Size: 1237
Editor: SheenaSmith
Comment: update content - standard return value
Revision 4 as of 2010-09-30 21:34:05
Size: 1186
Editor: SheenaSmith
Comment: update content - SDL_Rect
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
||'''src'''||a pointer to the source surface / [[SDL_Surface]] containing '''srcrect'''||
||'''srcrect'''||a pointer to the source rectangle / [[SDL_Rect]] to be queried||
||'''dst'''||a pointer to the destination surface / [[SDL_Surface]] containing '''dstrect'''||
||'''dstrect'''||a pointer to the destination rectangle / [[SDL_Rect]] to be filled||
||'''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||

DRAFT

SDL_LowerBlit

Use this function to perform low-level surface blitting only.

Syntax

int SDL_LowerBlit(SDL_Surface* src,
                  SDL_Rect*    srcrect,
                  SDL_Surface* dst,
                  SDL_Rect*    dstrect)

Function Parameters

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

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.


CategoryAPI, CategorySurface

None: SDL_LowerBlit (last edited 2013-08-08 21:05:45 by Sam Lantinga)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit