LoadFontFromMemory method
Implementation
FontD LoadFontFromMemory(
String fileType,
List<int> fileData,
num fontSize,
List<int> codepoints,
) => run(
() => 'LoadFontFromMemory($fileType, fileData: ${fileData.length}, $fontSize, codepoints: ${codepoints.length})',
() => rl.Temp.Font$.RefCapture(
'LoadFontFromMemory_${fileType}_${fileData.length}_${fontSize}_${codepoints.length}',
rl.Core.LoadFontFromMemory(
rl.Temp.String$.ValueOrNull(fileType),
rl.Temp.Uint8$.Array(fileData).cast(),
fileData.length,
fontSize.toInt(),
rl.Temp.Int$.Array(codepoints),
codepoints.length,
),
),
);