(text_ptr: *const u8, size: f64)
| 806 | |
| 807 | #[no_mangle] |
| 808 | pub extern "C" fn bloom_measure_text(text_ptr: *const u8, size: f64) -> f64 { |
| 809 | let text = str_from_header(text_ptr); |
| 810 | engine().text.measure_text(text, size as u32) |
| 811 | } |
| 812 | |
| 813 | #[no_mangle] |
| 814 | pub extern "C" fn bloom_load_font(path_ptr: *const u8, size: f64) -> f64 { |
nothing calls this directly
no test coverage detected