(text_ptr: *const u8, size: f64)
| 432 | |
| 433 | #[no_mangle] |
| 434 | pub extern "C" fn bloom_measure_text(text_ptr: *const u8, size: f64) -> f64 { |
| 435 | let text = str_from_header(text_ptr); |
| 436 | engine().text.measure_text(text, size as u32) |
| 437 | } |
| 438 | |
| 439 | #[no_mangle] |
| 440 | pub extern "C" fn bloom_load_font(path_ptr: *const u8, size: f64) -> f64 { |
nothing calls this directly
no test coverage detected