Renderer.copy - multiple declarations
Function Renderer.copy
Acts as SDL_RenderCopy(renderer, texture, NULL, destRect) which copies the entire texture to destRect at
the renderer's target
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
Throws
dsdl if texture failed to draw
Function Renderer.copy
Wraps SDL_RenderCopy which copies a part of the texture at srcRect to destRect at the renderer's target
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| srcRect | source dsdl which clips the given texture |
Throws
dsdl if texture failed to draw
Function Renderer.copy
Acts as SDL_RenderCopyF(renderer, texture, NULL, destRect) (from SDL 2.0.10) which copies the entire
texture to destRect at the renderer's target
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
Throws
dsdl if texture failed to draw
Function Renderer.copy
Wraps SDL_RenderCopyF (from SDL 2.0.10) which copies a part of the texture at srcRect to destRect at
the renderer's target
Parameters
| Name | Description |
|---|---|
| texture | dsdl to be copied/drawn |
| destRect | destination dsdl in the target for the texture to be drawn to |
| srcRect | source dsdl which clips the given texture |
Throws
dsdl if texture failed to draw