# Method SDL.Surface()->blit()

Method blit

  ``object` blit(`SDL.Surface` `dst`, `SDL.Rect`|`void` `srcrect`, `SDL.Rect`|`void` `dstrect`)`

Description

  Perform a blit from this surface to the `dst` surface.

Parameter `dst`

  Destination Surface for the blit.

Parameter `srcrect`

  Optional source Rect. If UNDEFINED the entire source Surface will be copied.

Parameter `dstrect`

  Optional destination Rect. Only the position fields `x` and `y` values are used. If UNDEFINED the blit will be performed to position `0, 0`.