TTF_GetFontOutline(3)

πŸ’– TTF_GetFontOutline(3) πŸ’–

okay bestie, welcome to the SDL_ttf3 FUNCTIONS corner of the manual, you're gonna love it here πŸŽ€


✨ NAME ✨

TTF_GetFontOutline β€” it asks a font what its current outline is. that's it. that's the whole job. slay πŸ’…


🌸 HEADER FILE 🌸

it lives in SDL3_ttf/SDL_ttf.h, defined and everything, no cap 🫢


✨ SYNOPSIS ✨

#include "SDL3_ttf/SDL_ttf.h"

int TTF_GetFontOutline(const TTF_Font *font);

look at her. one line. iconic. πŸ‘‘


πŸ¦‹ FUNCTION PARAMETERS πŸ¦‹

  • font β€” the font you're quizzing, bestie. she's the one getting asked.

πŸ’œ RETURN VALUE πŸ’œ

returns the font's current outline value. that's the tea, fr fr ✨


🧚 THREAD SAFETY 🧚

it is safe to call this function from any thread. go wild, no notes, main character energy in every thread 🌈


⭐ AVAILABILITY ⭐

this function has been available since SDL_ttf 3.0.0. vintage but make it cute πŸ’…


πŸ”₯ SEE ALSO πŸ”₯


lowkey the whole point: this one reads the outline, TTF_SetFontOutline(3) writes it. they're a duo. iykyk πŸ’–

mwah πŸ’‹ that's the whole page. this lil' page comes to you from SDL_ttf, version SDL_ttf 3.2.2 β€” take care of her, she's doing her best πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from