MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_measure_text_ex

Function bloom_measure_text_ex

native/android/src/lib.rs:460–463  ·  view source on GitHub ↗
(font_handle: f64, text_ptr: *const u8, size: f64, spacing: f64)

Source from the content-addressed store, hash-verified

458
459#[no_mangle]
460pub extern "C" fn bloom_measure_text_ex(font_handle: f64, text_ptr: *const u8, size: f64, spacing: f64) -> f64 {
461 let text = str_from_header(text_ptr);
462 engine().text.measure_text_ex(font_handle as usize, text, size as u32, spacing as f32)
463}
464
465#[no_mangle]
466pub extern "C" fn bloom_init_audio() {

Callers

nothing calls this directly

Calls 3

str_from_headerFunction · 0.85
measure_text_exMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected