Renderer.copy - multiple declarations
Function Renderer.copy
Copies a texture to the window at the given point Uses the dimensions of the given sourceRect or if not given, the dimensions of the original texture
Function Renderer.copy
Copies a texture to the window at the given rectangle If sourceRect is null, it will copy the entire texture, otherwise, it will copy the slice defined by sourceRect
void copy
(
Texture texture,
AxisAlignedBoundingBox!(int,2) destinationRect,
AxisAlignedBoundingBox!(int,2) sourceRect = null
);
Function Renderer.copy
Copies a texture to the window at the given rectangle with the given angle If sourceRect is null, it will copy the entire texture, otherwise, it will copy the slice defined by sourceRect Angles are given in radians
void copy
(
Texture texture,
AxisAlignedBoundingBox!(int,2) destinationRect,
double angle,
derelict .sdl2 .internal .sdl_types .SDL_RendererFlip flip = cast(SDL_RendererFlip)0,
Vector!(int,2) center = null,
AxisAlignedBoundingBox!(int,2) sourceRect = null
);