ttfClearFallbackFonts function ttf

void ttfClearFallbackFonts(
  1. Pointer<TtfFont> font
)

Remove all fallback fonts.

This updates any TTF_Text objects using this font.

\param font the font to modify.

\threadsafety This function should be called on the thread that created the font.

\since This function is available since SDL_ttf 3.0.0.

\sa TTF_AddFallbackFont \sa TTF_RemoveFallbackFont

extern SDL_DECLSPEC void SDLCALL TTF_ClearFallbackFonts(TTF_Font *font)

Implementation

void ttfClearFallbackFonts(Pointer<TtfFont> font) {
  final ttfClearFallbackFontsLookupFunction = _libTtf
      .lookupFunction<
        Void Function(Pointer<TtfFont> font),
        void Function(Pointer<TtfFont> font)
      >('TTF_ClearFallbackFonts');
  return ttfClearFallbackFontsLookupFunction(font);
}