Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2013-08-08 21:06:46
Size: 1282
Editor: Sam Lantinga
Comment:
Revision 5 as of 2013-08-08 22:02:44
Size: 1198
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
 .[[SDL_LowerBlit]] ???
 .[[SDL_SetClipRect]] ???
 .[[SDL_SoftStretch]] ???
 .[[SDL_UpperScaledBlit]]
 .[[SDL_BlitScaled]]

SDL_LowerBlitScaled

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

Syntax

int SDL_LowerBlitScaled(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

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 function and it performs low-level surface blitting, assuming the input rectangles have already been clipped.


CategoryAPI, CategorySurface

None: SDL_LowerBlitScaled (last edited 2013-08-08 22:02:44 by Sam Lantinga)

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