mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
6 lines
376 B
TypeScript
6 lines
376 B
TypeScript
import { fromData } from './kotlin-data'
|
|
declare const FaceclawKitIosProtocol: any
|
|
const protocol = FaceclawKitIosProtocol.new()
|
|
export function lvglMetrics(path: string): Uint8Array { return fromData(protocol.fontMetricsPath(path)) }
|
|
export function lvglGlyph(path: string, codePoint: number): Uint8Array { return fromData(protocol.fontGlyphPathCodePoint(path, codePoint)) }
|