bool SDL_RenderTextureRotated(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, const SDL_FRect *dstrect, double angle, const SDL_FPoint *center, SDL_FlipMode flip);
| SDL_Renderer * | renderer | テクスチャの一部がコピーされるレンダラ |
| SDL_Texture * | texture | コピー元のテクスチャ |
| const SDL_FRect * | srcrect | コピー元の領域. NULLのときテクスチャ全体 |
| const SDL_FRect * | dstrect | コピー先の領域. NULLのときレンダーターゲット全体 |
| double | angle | dstrectに適用される回転の角度. 回転は時計回りに行われる |
| const SDL_FPoint * | center | dstrectに適用される回転の中心点. NULLのとき(dstrect.w/2, dstrect.h/2) |
| SDL_FlipMode | flip | 適用する反転 |
(bool) 成功のとき真, 失敗のとき偽を戻す. SDL_GetError()を呼んで詳細を知ることができる.
この関数を呼べるのはメインスレッドのみである.