(path: string, size: number)
| 30 | } |
| 31 | |
| 32 | export function loadFontEx(path: string, size: number): Font { |
| 33 | const handle = bloom_load_font(path as any, size); |
| 34 | return { handle, size }; |
| 35 | } |
| 36 | |
| 37 | export function unloadFont(font: Font): void { |
| 38 | bloom_unload_font(font.handle); |
nothing calls this directly
no test coverage detected