const string nativeLibName = "FontCache";
[DllImport(nativeLibName, EntryPoint = "FC_CreateFont", CallingConvention = CallingConvention.Cdecl)]
static extern unsafe IntPtr INTERNAL_FC_CreateFont();
[DllImport(nativeLibName, EntryPoint = "FC_LoadFont")]
static extern unsafe int INTERNAL_FC_LoadFont(
IntPtr font,
IntPtr renderer,
byte* filename_ttf,
int pointSize,
SDL_Color color,
int style
);
const string nativeLibName = "FontCache";
[DllImport(nativeLibName, EntryPoint = "FC_CreateFont", CallingConvention = CallingConvention.Cdecl)]
static extern unsafe IntPtr INTERNAL_FC_CreateFont();
[DllImport(nativeLibName, EntryPoint = "FC_LoadFont")]
static extern unsafe int INTERNAL_FC_LoadFont(
IntPtr font,
IntPtr renderer,
byte* filename_ttf,
int pointSize,
SDL_Color color,
int style
);