sdlUpperBlitScaled function
int
sdlUpperBlitScaled(
- Pointer<
SdlSurface> src, - Pointer<
SdlRect> srcrect, - Pointer<
SdlSurface> dst, - Pointer<
SdlRect> dstrect,
Perform a scaled surface copy to a destination surface.
SDL_UpperBlitScaled() has been replaced by SDL_BlitScaled(), which is merely a macro for this function with a less confusing name.
\since This function is available since SDL 2.0.0.
\sa SDL_BlitScaled
extern DECLSPEC int SDLCALL SDL_UpperBlitScaled (SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect)
Implementation
int sdlUpperBlitScaled(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect,
Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) {
final sdlUpperBlitScaledLookupFunction = 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_UpperBlitScaled');
return sdlUpperBlitScaledLookupFunction(src, srcrect, dst, dstrect);
}