(text: &str, font: &Resource, typesetting: TypesettingConfig, for_clipping_test: bool)
| 16 | } |
| 17 | |
| 18 | pub fn bounding_box(text: &str, font: &Resource, typesetting: TypesettingConfig, for_clipping_test: bool) -> DVec2 { |
| 19 | TextContext::with_thread_local(|ctx| ctx.bounding_box(text, font, typesetting, for_clipping_test)) |
| 20 | } |
| 21 | |
| 22 | pub fn lines_clipping(text: &str, font: &Resource, typesetting: TypesettingConfig) -> bool { |
| 23 | TextContext::with_thread_local(|ctx| ctx.lines_clipping(text, font, typesetting)) |
no test coverage detected