(text_ptr: *const u8, size: f64)
| 869 | |
| 870 | #[no_mangle] |
| 871 | pub 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] |
| 877 | pub extern "C" fn bloom_load_font(path_ptr: *const u8, _size: f64) -> f64 { |
no test coverage detected