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

Function bloom_measure_text

native/ios/src/lib.rs:871–874  ·  view source on GitHub ↗
(text_ptr: *const u8, size: f64)

Source from the content-addressed store, hash-verified

869
870#[no_mangle]
871pub extern "C" fn bloom_measure_text(text_ptr: *const u8, size: f64) -> f64 {
872 let text = str_from_header(text_ptr);
873 engine().text.measure_text(text, size as u32)
874}
875
876#[no_mangle]
877pub extern "C" fn bloom_load_font(path_ptr: *const u8, _size: f64) -> f64 {

Callers 1

measureTextFunction · 0.50

Calls 3

str_from_headerFunction · 0.85
measure_textMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected