Class: SDL::TTF::Font
- Inherits:
-
NiceFFI::OpaqueStruct
- Object
- NiceFFI::OpaqueStruct
- SDL::TTF::Font
- Defined in:
- lib/ruby-sdl-ffi/ttf.rb
Class Method Summary collapse
-
.release(pointer) ⇒ Object
– TTF_Font struct (in C) has a hidden layout.
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 |