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

Function loadFont

src/text/index.ts:27–30  ·  view source on GitHub ↗
(path: string, size: number)

Source from the content-addressed store, hash-verified

25}
26
27export function loadFont(path: string, size: number): Font {
28 const handle = bloom_load_font(path as any, size);
29 return { handle, size };
30}
31
32export function loadFontEx(path: string, size: number): Font {
33 const handle = bloom_load_font(path as any, size);

Callers

nothing calls this directly

Calls 1

bloom_load_fontFunction · 0.50

Tested by

no test coverage detected