@@ -1064,6 +1064,7 @@ module raylib
10641064 public :: load_wave_samples
10651065 public :: maximize_window
10661066 public :: measure_text
1067+ public :: measure_text_ex
10671068 public :: mem_alloc
10681069 public :: mem_free
10691070 public :: mem_realloc
@@ -4537,6 +4538,17 @@ function measure_text(text, font_size) bind(c, name='MeasureText')
45374538 integer (kind= c_int) :: measure_text
45384539 end function measure_text
45394540
4541+ ! Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing)
4542+ function measure_text_ex (font , text , font_size , spacing ) bind(c, name= ' MeasureTextEx' )
4543+ import :: c_char, c_float, font_type, vector2_type
4544+ implicit none
4545+ type (font_type), intent (in ), value :: font
4546+ character (kind= c_char), intent (in ) :: text
4547+ real (kind= c_float), intent (in ), value :: font_size
4548+ real (kind= c_float), intent (in ), value :: spacing
4549+ type (vector2_type) :: measure_text_ex
4550+ end function measure_text_ex
4551+
45404552 ! void *MemAlloc(unsigned int size)
45414553 function mem_alloc (size ) bind(c, name= ' MemAlloc' )
45424554 import :: c_ptr, c_unsigned_int
0 commit comments