TTF

close-font

external

(Fn [(Ptr TTF_Font)] ())

get-error

external

(Fn [] (Ptr CChar))

init

external

(Fn [] Int)

ok?

defn

(Fn [Int] Bool)

                        (ok? error-code)
                    

open-font

external

(Fn [(Ptr CChar), Int] (Ptr TTF_Font))

quit

external

(Fn [] ())

render-text-blended

external

(Fn [(Ptr TTF_Font), (Ptr CChar), SDL_Color] (Ptr SDL_Surface))

render-text-blended-wrapped

external

(Fn [(Ptr TTF_Font), (Ptr CChar), SDL_Color, Int] (Ptr SDL_Surface))

render-text-shaded

external

(Fn [(Ptr TTF_Font), (Ptr CChar), SDL_Color, SDL_Color] (Ptr SDL_Surface))

render-text-solid

external

(Fn [(Ptr TTF_Font), (Ptr CChar), SDL_Color] (Ptr SDL_Surface))

render-text-to-texture

defn

(Fn [(Ptr SDL_Renderer), (Ptr TTF_Font), (Ref String a), SDL_Color] (Ptr SDL_Texture))

                        (render-text-to-texture rend font str color)