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

Function bloom_measure_text_str

native/web/src/lib.rs:569–571  ·  view source on GitHub ↗
(text: &str, size: f64)

Source from the content-addressed store, hash-verified

567
568#[wasm_bindgen]
569pub fn bloom_measure_text_str(text: &str, size: f64) -> f64 {
570 engine().text.measure_text(text, size as u32)
571}
572
573#[wasm_bindgen]
574pub fn bloom_load_font(_path: f64, _size: f64) -> f64 { 0.0 }

Callers

nothing calls this directly

Calls 2

measure_textMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected