---
name: "s3dw_surface_new"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3dw_surface_new"
---

# s3dw\_surface\_new(3)

create a new surface

## NAME

s3dw\_surface\_new - create a new surface

## SYNOPSIS

```
#include <s3dw.h>
```

**s3dw\_surface \*s3dw\_surface\_new(const char \****title***, float** *width***, float** *height***);**

## DESCRIPTION

Creates a new surface (a new window) with title "title" and dimension "width" x "height".

See s3dw\_surface for information about callbacks which may be defined.

## AUTHOR

**Simon Wunderlich**

Author of s3d
