コード例 #1
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(NativeFontAtlas* atlas, string compressed_ttf_data_base85, float size_pixels, FontConfig* font_cfg, char* glyph_ranges);
コード例 #2
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern void ImFontAtlas_Clear(NativeFontAtlas* atlas);
コード例 #3
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFontFromMemoryTTF(NativeFontAtlas* atlas, void* ttf_data, int ttf_size, float size_pixels, IntPtr font_cfg, char* glyph_ranges);
コード例 #4
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(NativeFontAtlas* atlas, void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, FontConfig* font_cfg, char* glyph_ranges);
コード例 #5
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static NativeFont* ImFontAtlas_AddFontDefault(NativeFontAtlas* atlas) { return ImFontAtlas_AddFontDefault(atlas, IntPtr.Zero); }
コード例 #6
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFontFromFileTTF(NativeFontAtlas* atlas, string filename, float size_pixels, IntPtr font_cfg, char* glyph_ranges);
コード例 #7
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFontDefault(NativeFontAtlas* atlas, IntPtr font_cfg);
コード例 #8
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern NativeFont* ImFontAtlas_AddFont(NativeFontAtlas* atlas, ref FontConfig font_cfg);
コード例 #9
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern void ImFontAtlas_SetTexID(NativeFontAtlas* atlas, void* tex);
コード例 #10
0
ファイル: ImGuiNative.cs プロジェクト: mellinoe/ImGui.NET
 public static extern void ImFontAtlas_GetTexDataAsAlpha8(NativeFontAtlas* atlas, byte** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel);
コード例 #11
0
ファイル: IO.cs プロジェクト: mellinoe/ImGui.NET
 public FontAtlas(NativeFontAtlas* atlasPtr)
 {
     _atlasPtr = atlasPtr;
 }