public static extern Font *ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(FontAtlas *atlas, string compressed_ttf_data_base85, float size_pixels, FontConfig *font_cfg, char *glyph_ranges);
 public static extern void ImFontAtlas_Clear(FontAtlas *atlas);
 public static extern Font *ImFontAtlas_AddFontFromMemoryTTF(FontAtlas *atlas, void *ttf_data, int ttf_size, float size_pixels, IntPtr font_cfg, char *glyph_ranges);
 public static extern Font *ImFontAtlas_AddFontFromMemoryCompressedTTF(FontAtlas *atlas, void *compressed_ttf_data, int compressed_ttf_size, float size_pixels, FontConfig *font_cfg, char *glyph_ranges);
 public static Font *ImFontAtlas_AddFontDefault(FontAtlas *atlas)
 {
     return(ImFontAtlas_AddFontDefault(atlas, IntPtr.Zero));
 }
 public static extern Font *ImFontAtlas_AddFontFromFileTTF(FontAtlas *atlas, string filename, float size_pixels, IntPtr font_cfg, char *glyph_ranges);
 public static extern Font *ImFontAtlas_AddFontDefault(FontAtlas *atlas, IntPtr font_cfg);
 public static extern Font *ImFontAtlas_AddFont(FontAtlas *atlas, ref FontConfig font_cfg);
 public static extern void ImFontAtlas_SetTexID(FontAtlas *atlas, void *tex);
 public static extern void ImFontAtlas_GetTexDataAsAlpha8(FontAtlas *atlas, byte **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel);
Beispiel #11
0
 public FontAtlasWrapped(FontAtlas *atlasPtr)
 {
     _atlasPtr = atlasPtr;
 }