sdl2 :: SDLRenderer :: copy
# Copy the rectangle at `src` from `texture` to fill the `dst` at the rendering `target`
#
# If `dst` has a different size than `src`, the image will be stretched.
#
# If `src == null` the whole source texture will be drawn, and if
# `dst == null` then the texture will fill the rendering `target`.
fun copy(texture: SDLTexture, src, dst: nullable SDLRect)
do
if src == null then src = new SDLRect.nil
if dst == null then dst = new SDLRect.nil
native_copy(texture, src, dst)
end
lib/sdl2/sdl2_base.nit:252,2--264,4