.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL's wiki page for SDL_RenderTextureRotated: .\" https://wiki.libsdl.org/SDL_RenderTextureRotated .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision SDL-3.1.0 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20SDL_RenderTextureRotated .\" SDL can be found at https://libsdl.org/ .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH SDL_RenderTextureRotated 3 "SDL 3.1.0" "SDL" "SDL3 FUNCTIONS" .SH NAME SDL_RenderTextureRotated \- Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3/SDL.h\(dq .PP .BI "int SDL_RenderTextureRotated(SDL_Renderer *renderer, SDL_Texture *texture, .BI " const SDL_FRect *srcrect, const SDL_FRect *dstrect, .BI " const double angle, const SDL_FPoint *center, .BI " const SDL_FlipMode flip); .fi .SH FUNCTION PARAMETERS .TP .I renderer The renderer which should copy parts of a texture\[char46] .TP .I texture The source texture\[char46] .TP .I srcrect A pointer to the source rectangle, or NULL for the entire texture\[char46] .TP .I dstrect A pointer to the destination rectangle, or NULL for the entire rendering target\[char46] .TP .I angle An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction .TP .I center A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect\[char46]w/2, dstrect\[char46]h/2)\[char46] .TP .I flip An .BR SDL_FlipMode value stating which flipping actions should be performed on the texture .SH RETURN VALUE Returns 0 on success or a negative error code on failure; call .BR SDL_GetError () for more information\[char46] .SH AVAILABILITY This function is available since SDL 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR SDL_RenderTexture (3)