Surface.blit

Use this function to perform a fast blit from the source surface to the this surface. src is the a pointer to a Rect structure which represents the rectangle to be copied, or null to copy the entire surface. dst is a pointer to a Rect structure which represents the rectangle that is copied into. null means, that the whole srfc is copied to (0|0).

struct Surface
@nogc
bool
blit
nothrow
(
,
const Rect* src = null
,
Rect* dst = null
)

Meta