Initialize SDL_ttf font (TTF_Init( )); Open a ttf font (font = TTF_OpenFont("arial.ttf",10);); Use render function to SDL_Surface (TTF_RenderText_Solid( ) ...
確定! 回上一頁