---
name: "SDL_StretchSurface_23"
section: "3"
platform: "linux"
package: "libsdl-stretch-dev"
version: "0.3.1-12"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_StretchSurface_23"
---

# SDL\_StretchSurface\_23(3)

(src/SDL\_stretch.h)

## NAME

SDL\_StretchSurface\_23 - (src/SDL\_stretch.h)

## SYNOPSIS

```
 #include <SDL_stretch.h>
```

**extern DECLSPEC int SDL\_StretchSurface\_23(SDL\_Surface \*src, SDL\_Rect \*srcrect, SDL\_Surface \*dst, SDL\_Rect \*dstrect);**

## DESCRIPTION

**The SDL\_StretchSurface\_23 function** will stretch to 150%. This is not only a fast function but it is also safe to call from multiple threads. If the srcrect is given then only that rect is copied. Otherwise the full src surface is copied to the full dst surface. The dstrect is ignored.
