Mercurial > sdl-ios-xcode
comparison include/SDL_surface.h @ 2828:7e5ff6cd05bf
Added very slow software scaling to the X11 renderer
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 03 Dec 2008 12:10:51 +0000 |
parents | 365fe1a2aad5 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2827:aec4399c507a | 2828:7e5ff6cd05bf |
---|---|
460 extern DECLSPEC int SDLCALL SDL_LowerBlit | 460 extern DECLSPEC int SDLCALL SDL_LowerBlit |
461 (SDL_Surface * src, SDL_Rect * srcrect, | 461 (SDL_Surface * src, SDL_Rect * srcrect, |
462 SDL_Surface * dst, SDL_Rect * dstrect); | 462 SDL_Surface * dst, SDL_Rect * dstrect); |
463 | 463 |
464 /** | 464 /** |
465 * \fn int SDL_SoftStretch(SDL_Surface * src, SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect) | 465 * \fn int SDL_SoftStretch(SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, const SDL_Rect * dstrect) |
466 * | 466 * |
467 * \brief Perform a fast, low quality, stretch blit between two surfaces of the same pixel format. | 467 * \brief Perform a fast, low quality, stretch blit between two surfaces of the same pixel format. |
468 * | 468 * |
469 * \note This function uses a static buffer, and is not thread-safe. | 469 * \note This function uses a static buffer, and is not thread-safe. |
470 */ | 470 */ |
471 extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, | 471 extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, |
472 SDL_Rect * srcrect, | 472 const SDL_Rect * srcrect, |
473 SDL_Surface * dst, | 473 SDL_Surface * dst, |
474 SDL_Rect * dstrect); | 474 const SDL_Rect * dstrect); |
475 | 475 |
476 /* Ends C function definitions when using C++ */ | 476 /* Ends C function definitions when using C++ */ |
477 #ifdef __cplusplus | 477 #ifdef __cplusplus |
478 /* *INDENT-OFF* */ | 478 /* *INDENT-OFF* */ |
479 } | 479 } |