Class: SDL::TTF::Font

Inherits:
NiceFFI::OpaqueStruct
  • Object
show all
Defined in:
lib/ruby-sdl-ffi/ttf.rb

Class Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object

– TTF_Font struct (in C) has a hidden layout. ++



56
57
58
# File 'lib/ruby-sdl-ffi/ttf.rb', line 56

def self.release( pointer )
  SDL::TTF.CloseFont( pointer )
end