Differences between current version and predecessor to the previous major change of SDL_BlitSurface(3).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:39 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:39 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_BlitSurface
-!!!SDL_BlitSurface
+SDL_!
BlitSurface
+!!!SDL_!
BlitSurface
NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
@@ -8,16 +8,16 @@
----
!!NAME
-SDL_BlitSurface- This performs a fast blit from the source surface to the destination surface.
+SDL_!
BlitSurface- This performs a fast blit from the source surface to the destination surface.
!!SYNOPSIS
__#include __
-__int SDL_BlitSurface__(__SDL_Surface *src, SDL_Rect
+__int SDL_!
BlitSurface__(__SDL_Surface *src, SDL_Rect
*srcrect, SDL_Surface *dst, SDL_Rect
*dstrect__);
!!DESCRIPTION
@@ -48,9 +48,9 @@
The results of blitting operations vary greatly depending on
whether __SDL_SRCAPLHA__ is set or not. See
-''SDL_SetAlpha''.
+''SDL_!
SetAlpha''.
!!RETURN VALUE
If the blit is successful, it returns __0__, otherwise it
@@ -61,13 +61,13 @@
returns __-2__, the video memory was lost, so it should
be reloaded with artwork and re-blitted:
- while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
-while ( SDL_LockSurface(image))
+ while ( SDL_!
BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
+while ( SDL_!
LockSurface(image))
This happens under DirectX 5.0 when the system switches away from your fullscreen application. Locking the surface will also fail until you have access to the video memory again.
!!SEE ALSO
-__SDL_LockSurface__, __SDL_FillRect__,
+__SDL_!
LockSurface__, __SDL_!
FillRect__,
__SDL_Surface__, __SDL_Rect__
----