S3DW_SURFACE_NEW(3)
β¨ S3DW_SURFACE_NEW β¨
okay bestie, welcome to the s3d manual, section 3 π this one's about s3dw_surface_new, and yes it's exactly as iconic as it sounds.
πΈ NAME πΈ
s3dw_surface_new β make a brand new surface, fr fr β¨
π SYNOPSIS π
#include <s3dw.h>
s3dw_surface *s3dw_surface_new(const char *title, float width,
float height);
likeβ¦ she's a function, she takes four-ish things, she gives you back a pointer. slay π
π¦ DESCRIPTION π¦
okay so. s3dw_surface_new creates a new surface β and a surface is literally just a new window, no cap πͺβ¨
You hand her a title (that's the window title, the thing up top that everyone reads) and the dimensions width x height. That's it. That's the whole vibe. π
ngl if you wanna know about the callbacks you can define on this thing, go read s3dw_surface β she has the whole lore. ππ
π AUTHOR π
Simon Wunderlich Author of s3d β the main character, honestly π
that's the page, bestie!! this one came out of the s3d manual, and the header/footer energy is all S3DW_SURFACE_NEW(3) with source s3d π«Ά go make some windows, you got this πππ¦
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms