TTF_StringToTag - Man Page

Convert from a 4 character string to a 32-bit tag.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

Uint32 TTF_StringToTag(const char *string);

Function Parameters

string

the 4 character string to convert.

Return Value

Returns the 32-bit representation of the string.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL_ttf 3.0.0.

See Also

·(3), TTF_TagToString(3)

Referenced By

TTF_SetFontScript(3), TTF_SetTextScript(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS