@@ -519,52 +519,52 @@ public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_dat
519
519
}
520
520
return new ImFontPtr ( ret ) ;
521
521
}
522
- public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_size , float size_pixels )
522
+ public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_data_size , float size_pixels )
523
523
{
524
524
void * native_compressed_font_data = ( void * ) compressed_font_data . ToPointer ( ) ;
525
525
ImFontConfig * font_cfg = null ;
526
526
ushort * glyph_ranges = null ;
527
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_size , size_pixels , font_cfg , glyph_ranges ) ;
527
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_data_size , size_pixels , font_cfg , glyph_ranges ) ;
528
528
return new ImFontPtr ( ret ) ;
529
529
}
530
- public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_size , float size_pixels , ImFontConfigPtr font_cfg )
530
+ public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_data_size , float size_pixels , ImFontConfigPtr font_cfg )
531
531
{
532
532
void * native_compressed_font_data = ( void * ) compressed_font_data . ToPointer ( ) ;
533
533
ImFontConfig * native_font_cfg = font_cfg . NativePtr ;
534
534
ushort * glyph_ranges = null ;
535
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_size , size_pixels , native_font_cfg , glyph_ranges ) ;
535
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_data_size , size_pixels , native_font_cfg , glyph_ranges ) ;
536
536
return new ImFontPtr ( ret ) ;
537
537
}
538
- public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_size , float size_pixels , ImFontConfigPtr font_cfg , IntPtr glyph_ranges )
538
+ public ImFontPtr AddFontFromMemoryCompressedTTF ( IntPtr compressed_font_data , int compressed_font_data_size , float size_pixels , ImFontConfigPtr font_cfg , IntPtr glyph_ranges )
539
539
{
540
540
void * native_compressed_font_data = ( void * ) compressed_font_data . ToPointer ( ) ;
541
541
ImFontConfig * native_font_cfg = font_cfg . NativePtr ;
542
542
ushort * native_glyph_ranges = ( ushort * ) glyph_ranges . ToPointer ( ) ;
543
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_size , size_pixels , native_font_cfg , native_glyph_ranges ) ;
543
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryCompressedTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_compressed_font_data , compressed_font_data_size , size_pixels , native_font_cfg , native_glyph_ranges ) ;
544
544
return new ImFontPtr ( ret ) ;
545
545
}
546
- public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_size , float size_pixels )
546
+ public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_data_size , float size_pixels )
547
547
{
548
548
void * native_font_data = ( void * ) font_data . ToPointer ( ) ;
549
549
ImFontConfig * font_cfg = null ;
550
550
ushort * glyph_ranges = null ;
551
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_size , size_pixels , font_cfg , glyph_ranges ) ;
551
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_data_size , size_pixels , font_cfg , glyph_ranges ) ;
552
552
return new ImFontPtr ( ret ) ;
553
553
}
554
- public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_size , float size_pixels , ImFontConfigPtr font_cfg )
554
+ public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_data_size , float size_pixels , ImFontConfigPtr font_cfg )
555
555
{
556
556
void * native_font_data = ( void * ) font_data . ToPointer ( ) ;
557
557
ImFontConfig * native_font_cfg = font_cfg . NativePtr ;
558
558
ushort * glyph_ranges = null ;
559
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_size , size_pixels , native_font_cfg , glyph_ranges ) ;
559
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_data_size , size_pixels , native_font_cfg , glyph_ranges ) ;
560
560
return new ImFontPtr ( ret ) ;
561
561
}
562
- public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_size , float size_pixels , ImFontConfigPtr font_cfg , IntPtr glyph_ranges )
562
+ public ImFontPtr AddFontFromMemoryTTF ( IntPtr font_data , int font_data_size , float size_pixels , ImFontConfigPtr font_cfg , IntPtr glyph_ranges )
563
563
{
564
564
void * native_font_data = ( void * ) font_data . ToPointer ( ) ;
565
565
ImFontConfig * native_font_cfg = font_cfg . NativePtr ;
566
566
ushort * native_glyph_ranges = ( ushort * ) glyph_ranges . ToPointer ( ) ;
567
- ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_size , size_pixels , native_font_cfg , native_glyph_ranges ) ;
567
+ ImFont * ret = ImGuiNative . ImFontAtlas_AddFontFromMemoryTTF ( ( ImFontAtlas * ) ( NativePtr ) , native_font_data , font_data_size , size_pixels , native_font_cfg , native_glyph_ranges ) ;
568
568
return new ImFontPtr ( ret ) ;
569
569
}
570
570
public bool Build ( )
0 commit comments