mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 21:37:43 +08:00
Update doc: SDL_SoftStretch() and SDL_SoftStretchLinear() #8667
This commit is contained in:
@@ -862,8 +862,6 @@ extern DECLSPEC int SDLCALL SDL_BlitSurfaceUnchecked
|
|||||||
* Perform a fast, low quality, stretch blit between two surfaces of the same
|
* Perform a fast, low quality, stretch blit between two surfaces of the same
|
||||||
* format.
|
* format.
|
||||||
*
|
*
|
||||||
* **WARNING**: Please use SDL_BlitSurfaceScaled() instead.
|
|
||||||
*
|
|
||||||
* \param src the SDL_Surface structure to be copied from
|
* \param src the SDL_Surface structure to be copied from
|
||||||
* \param srcrect the SDL_Rect structure representing the rectangle to be
|
* \param srcrect the SDL_Rect structure representing the rectangle to be
|
||||||
* copied
|
* copied
|
||||||
@@ -874,6 +872,9 @@ extern DECLSPEC int SDLCALL SDL_BlitSurfaceUnchecked
|
|||||||
* SDL_GetError() for more information.
|
* SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.0.0.
|
* \since This function is available since SDL 3.0.0.
|
||||||
|
*
|
||||||
|
* \sa SDL_BlitSurfaceScaled
|
||||||
|
* \sa SDL_SetSurfaceScaleMode
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src,
|
extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src,
|
||||||
const SDL_Rect *srcrect,
|
const SDL_Rect *srcrect,
|
||||||
@@ -893,6 +894,9 @@ extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src,
|
|||||||
* SDL_GetError() for more information.
|
* SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.0.0.
|
* \since This function is available since SDL 3.0.0.
|
||||||
|
*
|
||||||
|
* \sa SDL_BlitSurfaceScaled
|
||||||
|
* \sa SDL_SetSurfaceScaleMode
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_SoftStretchLinear(SDL_Surface *src,
|
extern DECLSPEC int SDLCALL SDL_SoftStretchLinear(SDL_Surface *src,
|
||||||
const SDL_Rect *srcrect,
|
const SDL_Rect *srcrect,
|
||||||
|
|||||||
Reference in New Issue
Block a user