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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 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
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
srcRect | source dsdl2 which clips the given texture |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
center | pivot dsdl2 of the texture for rotation |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
srcRect | source dsdl2 which clips the given texture |
center | pivot dsdl2 of the texture for rotation |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 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
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
srcRect | source dsdl2 which clips the given texture |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
center | pivot dsdl2 of the texture for rotation |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
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 | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
angle | angle in degrees to rotate the texture counterclockwise |
srcRect | source dsdl2 which clips the given texture |
center | pivot dsdl2 of the texture for rotation |
flippedHorizontally | true to flip the texture horizontally, otherwise false |
flippedVertically | true to flip the texture vertically, otherwise false |
Throws
dsdl2
if texture failed to draw