LoadFontEx method
Implementation
FontD LoadFontEx(
String fileName,
num fontSize, [
List<int>? codepoints,
num? codePointCount
]
) => run(
() => 'LoadFontEx($fileName, $fontSize, codepoints: ${codepoints?.length})',
() => rl.Temp.Font$.RefCapture(
'LoadFontEx_${fileName}_$fontSize',
rl.Core.LoadFontEx(
rl.Temp.String$.ValueOrNull(fileName),
fontSize.toInt(),
codepoints == null ? nullptr : rl.Temp.Int$.Array(codepoints),
codePointCount?.toInt() ?? codepoints?.length ?? 0,
),
),
);