Function sdl2_sys::SDL_RenderCopyF
source ยท pub unsafe extern "C" fn SDL_RenderCopyF(
renderer: *mut SDL_Renderer,
texture: *mut SDL_Texture,
srcrect: *const SDL_Rect,
dstrect: *const SDL_FRect,
) -> c_int
Expand description
Copy a portion of the texture to the current rendering target at subpixel precision.
\param renderer The renderer which should copy parts of a texture. \param texture The source texture. \param srcrect A pointer to the source rectangle, or NULL for the entire texture. \param dstrect A pointer to the destination rectangle, or NULL for the entire rendering target. \return 0 on success, or -1 on error
\since This function is available since SDL 2.0.10.