コード例 #1
0
ファイル: NFont.cs プロジェクト: masonwheeler/SDL2-CS
 public bool load(string filename_ttf, UInt32 pointSize, SDL.SDL_Color color, int style = SDL_ttf.TTF_STYLE_NORMAL)
 {
     SDL_FontCache.FC_ClearFont(font);
     return(SDL_FontCache.FC_LoadFont(font, filename_ttf, (int)pointSize, color, style) != 0);
 }