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); }
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); }