LoadFontFromMemory method

FontC LoadFontFromMemory(
  1. Pointer<Char> fileType,
  2. Pointer<UnsignedChar> fileData,
  3. int dataSize,
  4. int fontSize,
  5. Pointer<Int> codepoints,
  6. int codepointCount,
)

Load font from memory buffer, fileType refers to extension: i.e. '.ttf'

Implementation

FontC LoadFontFromMemory(Pointer<Char> fileType, Pointer<UnsignedChar> fileData, int dataSize, int fontSize, Pointer<Int> codepoints, int codepointCount)
  => _LoadFontFromMemory(fileType, fileData, dataSize, fontSize, codepoints, codepointCount);