コード例 #1
0
 public CustomFontRequest(String fontFile, CustomFontRequestFontTypes type, int numberHorizontalChars, int numberVerticalChars)
 {
     FontFile = fontFile;
     NumberHorizontalChars = numberHorizontalChars;
     NumberVerticalChars   = numberVerticalChars;
     FontRequestType       = type;
 }
コード例 #2
0
 /// <summary>
 /// Create new custom font request
 /// </summary>
 /// <param name="fontFile">File name to load font from</param>
 /// <param name="char_width">Pixels each character is wide</param>
 /// <param name="char_height">Pixels each character is high</param>
 /// <param name="type">Determines for custom font</param>
 public CustomFontRequest(String fontFile, int char_width, int char_height, CustomFontRequestFontTypes type)
 {
     m_fontFile    = fontFile;
     m_char_width  = char_width;
     m_char_height = char_height;
     m_type        = type;
 }
コード例 #3
0
 /// <summary>
 /// Create new custom font request
 /// </summary>
 /// <param name="fontFile">File name to load font from</param>
 /// <param name="type">Determines for custom font</param>
 /// <param name="numberCharHoriz">Number Of Characters in Horizontal Row</param>
 /// <param name="numberCharVert">Number of Characters in Vertical Row</param>
 public CustomFontRequest(String fontFile, CustomFontRequestFontTypes type, int numberCharHoriz, int numberCharVert)
 {
     m_fontFile        = fontFile;
     m_numberCharHoriz = numberCharHoriz;
     m_numberCharVert  = numberCharVert;
     m_type            = type;
 }
コード例 #4
0
ファイル: TCODConsole.cs プロジェクト: Sinellil/roguelike-cs
 /// <summary>
 /// Create new custom font request
 /// </summary>
 /// <param name="fontFile">File name to load font from</param>
 /// <param name="char_width">Pixels each character is wide</param>
 /// <param name="char_height">Pixels each character is high</param>
 /// <param name="type">Determines for custom font</param>
 public CustomFontRequest(String fontFile, int char_width, int char_height, CustomFontRequestFontTypes type)
 {
     m_fontFile = fontFile;
     m_char_width = char_width;
     m_char_height = char_height;
     m_type = type;
 }
コード例 #5
0
 /// <summary>
 /// Create new custom font request
 /// </summary>
 /// <param name="fontFile">File name to load font from</param>
 /// <param name="type">Determines for custom font</param>
 /// <param name="numberCharHoriz">Number Of Characters in Horizontal Row</param>
 /// <param name="numberCharVert">Number of Characters in Vertical Row</param>
 public CustomFontRequest(String fontFile, CustomFontRequestFontTypes type, int numberCharHoriz, int numberCharVert)
 {
     m_fontFile = fontFile;
     m_numberCharHoriz = numberCharHoriz;
     m_numberCharVert = numberCharVert;
     m_type = type;
 }