Renderer.copyEx - multiple declarations
Function Renderer.copyEx
Acts as SDL_RenderCopyEx(renderer, texture, NULL, destRect, angle, NULL, flip) which copies the
entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Acts as SDL_RenderCopyEx(renderer, texture, srcRect, destRect, angle, NULL, flip) which copies the
entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| srcRect | source dsdl which clips the given texture |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Acts as SDL_RenderCopyEx(renderer, texture, NULL, destRect, angle, center, flip) which copies the
entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| center | pivot dsdl of the texture for rotation |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Wraps SDL_RenderCopyEx which copies the entire texture to destRect at the renderer's target with certain
angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| srcRect | source dsdl which clips the given texture |
| center | pivot dsdl of the texture for rotation |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Acts as SDL_RenderCopyExF(renderer, texture, NULL, destRect, angle, NULL, flip) (from SDL 2.0.10) which
copies the entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Acts as SDL_RenderCopyExF(renderer, texture, srcRect, destRect, angle, NULL, flip) (from SDL 2.0.10) which
copies the entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| srcRect | source dsdl which clips the given texture |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Acts as SDL_RenderCopyExF(renderer, texture, NULL, destRect, angle, center, flip) (from SDL 2.0.10) which
copies the entire texture to destRect at the renderer's target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| center | pivot dsdl of the texture for rotation |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw
Function Renderer.copyEx
Wraps SDL_RenderCopyExF (from SDL 2.0.10) which copies the entire texture to destRect at the renderer's
target with certain angle and flipping
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| angle | angle in degrees to rotate the texture counterclockwise |
| srcRect | source dsdl which clips the given texture |
| center | pivot dsdl of the texture for rotation |
| flippedHorizontally | true to flip the texture horizontally, otherwise false |
| flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl if texture failed to draw