s3dw_surface_new(3)

create a new surface

Section 3 s3d-doc bookworm source

Description

S3DW_SURFACE_NEW

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