LoadFontEx XML comment updated
This commit is contained in:
parent
8325eece50
commit
8719c30d1e
2 changed files with 6 additions and 3 deletions
|
|
@ -1966,8 +1966,8 @@ public static unsafe partial class Raylib
|
||||||
public static extern Font LoadFont(sbyte* fileName);
|
public static extern Font LoadFont(sbyte* fileName);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load
|
/// Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load
|
||||||
/// the default character set
|
/// the default character set, font size is provided in pixels height
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Font LoadFontEx(sbyte* fileName, int fontSize, int* codepoints, int codepointCount);
|
public static extern Font LoadFontEx(sbyte* fileName, int fontSize, int* codepoints, int codepointCount);
|
||||||
|
|
|
||||||
|
|
@ -935,7 +935,10 @@ public static unsafe partial class Raylib
|
||||||
return LoadFont(str1.AsPointer());
|
return LoadFont(str1.AsPointer());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Load font from file with extended parameters</summary>
|
/// <summary>
|
||||||
|
/// Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load
|
||||||
|
/// the default character set, font size is provided in pixels height
|
||||||
|
/// </summary>
|
||||||
public static Font LoadFontEx(string fileName, int fontSize, int[] codepoints, int codepointCount)
|
public static Font LoadFontEx(string fileName, int fontSize, int[] codepoints, int codepointCount)
|
||||||
{
|
{
|
||||||
using var str1 = fileName.ToAnsiBuffer();
|
using var str1 = fileName.ToAnsiBuffer();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue