/usr/include/allegro5/allegro_ttf.h is in liballegro-ttf5-dev 2:5.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifndef __al_included_allegro5_allegro_ttf_h
#define __al_included_allegro5_allegro_ttf_h
#include "allegro5/allegro.h"
#include "allegro5/allegro_font.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ALLEGRO_TTF_NO_KERNING 1
#define ALLEGRO_TTF_MONOCHROME 2
#define ALLEGRO_TTF_NO_AUTOHINT 4
#if (defined ALLEGRO_MINGW32) || (defined ALLEGRO_MSVC) || (defined ALLEGRO_BCC32)
#ifndef ALLEGRO_STATICLINK
#ifdef ALLEGRO_TTF_SRC
#define _ALLEGRO_TTF_DLL __declspec(dllexport)
#else
#define _ALLEGRO_TTF_DLL __declspec(dllimport)
#endif
#else
#define _ALLEGRO_TTF_DLL
#endif
#endif
#if defined ALLEGRO_MSVC
#define ALLEGRO_TTF_FUNC(type, name, args) _ALLEGRO_TTF_DLL type __cdecl name args
#elif defined ALLEGRO_MINGW32
#define ALLEGRO_TTF_FUNC(type, name, args) extern type name args
#elif defined ALLEGRO_BCC32
#define ALLEGRO_TTF_FUNC(type, name, args) extern _ALLEGRO_TTF_DLL type name args
#else
#define ALLEGRO_TTF_FUNC AL_FUNC
#endif
ALLEGRO_TTF_FUNC(ALLEGRO_FONT *, al_load_ttf_font, (char const *filename, int size, int flags));
ALLEGRO_TTF_FUNC(ALLEGRO_FONT *, al_load_ttf_font_f, (ALLEGRO_FILE *file, char const *filename, int size, int flags));
ALLEGRO_TTF_FUNC(ALLEGRO_FONT *, al_load_ttf_font_stretch, (char const *filename, int w, int h, int flags));
ALLEGRO_TTF_FUNC(ALLEGRO_FONT *, al_load_ttf_font_stretch_f, (ALLEGRO_FILE *file, char const *filename, int w, int h, int flags));
ALLEGRO_TTF_FUNC(bool, al_init_ttf_addon, (void));
ALLEGRO_TTF_FUNC(void, al_shutdown_ttf_addon, (void));
ALLEGRO_TTF_FUNC(uint32_t, al_get_allegro_ttf_version, (void));
#ifdef __cplusplus
}
#endif
#endif
|