sdlSoftStretch function
int
sdlSoftStretch(
- Pointer<
SdlSurface> src, - Pointer<
SdlRect> srcrect, - Pointer<
SdlSurface> dst, - Pointer<
SdlRect> dstrect,
Perform a fast, low quality, stretch blit between two surfaces of the same format.
Please use SDL_BlitScaled() instead.
\since This function is available since SDL 2.0.0.
extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, const SDL_Rect * dstrect)
Implementation
int sdlSoftStretch(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect,
Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) {
final sdlSoftStretchLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect,
Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect),
int Function(
Pointer<SdlSurface> src,
Pointer<SdlRect> srcrect,
Pointer<SdlSurface> dst,
Pointer<SdlRect> dstrect)>('SDL_SoftStretch');
return sdlSoftStretchLookupFunction(src, srcrect, dst, dstrect);
}