private sceFontFindFont ( FontLibrary FontLibrary, |
||
FontLibrary | FontLibrary | |
FontStylePointer | ||
ErrorCode | uint | |
Результат | int |
public int sceFontFindFont(FontLibrary FontLibrary, FontStyle* FontStylePointer, uint* ErrorCode)
{
var FontRegistry = FontLibrary.FontRegistryList.OrderByDescending(Entry => FontStyle.GetScoreCompare(Entry.FontStyle, *FontStylePointer)).First();
var FontIndex = FontLibrary.FontRegistryList.IndexOf(FontRegistry);
*ErrorCode = 0;
return FontIndex;
}