Surface.blit

Wraps SDL_BlitSurface which blits/draws a dsdl2.Surface on top of the dsdl2.Surface at a specific point as the top-left point of the drawn dsdl2.Surface without any scaling done

  1. void blit(Surface source, Point destPoint)
    class Surface
    @trusted
    void
    blit
  2. void blit(Surface source, Point destPoint, Rect srcRect)

Parameters

source Surface

dsdl2.Surface to blit/draw

destPoint Point

top-left dsdl2.Point of where source is drawn

Meta