Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-12-22 00:58:28
Size: 1370
Editor: SheenaSmith
Comment: update formatting - enums, structs, the/an
Revision 7 as of 2011-01-11 23:55:55
Size: 1231
Editor: SheenaSmith
Comment: update content - per Sam
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
||'''src'''||the [[SDL_Surface]] structure containing '''srcrect''' / the source rectangle||
||'''srcrect'''||the [[SDL_Rect]] structure ^representing / describing^ ,,containing,, the source pixels||
||'''dst'''||the [[SDL_Surface]] structure 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.)>>
||'''src'''||the [[SDL_Surface]] structure to be copied from||
||'''srcrect'''||the [[SDL_Rect]] structure representing the rectangle to be copied, or NULL to copy the entire surface||
||'''dst'''||the [[SDL_Surface]] structure that is the blit target||
||'''dstrect'''||the [[SDL_Rect]] structure representing the rectangle that is copied into||

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

the SDL_Surface structure to be copied from

srcrect

the SDL_Rect structure representing the rectangle to be copied, or NULL to copy the entire surface

dst

the SDL_Surface structure that is the blit target

dstrect

the SDL_Rect structure representing the rectangle that is copied into

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