Function sdl2_sys::SDL_LowerBlit
source · pub unsafe extern "C" fn SDL_LowerBlit(
src: *mut SDL_Surface,
srcrect: *mut SDL_Rect,
dst: *mut SDL_Surface,
dstrect: *mut SDL_Rect,
) -> c_int
Expand description
Perform low-level surface blitting only.
This is a semi-private blit function and it performs low-level surface blitting, assuming the input rectangles have already been clipped.
Unless you know what you’re doing, you should be using SDL_BlitSurface() instead.
\param src the SDL_Surface structure to be copied from \param srcrect the SDL_Rect structure representing the rectangle to be copied, or NULL to copy the entire surface \param dst the SDL_Surface structure that is the blit target \param dstrect the SDL_Rect structure representing the rectangle that is copied into \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_BlitSurface