# File lib/ruby-sdl-ffi/gfx/rotozoom.rb, line 59 def self.rotozoomSurfaceSize( width, height, angle, zoom ) w = FFI::Buffer.new( :int ) h = FFI::Buffer.new( :int ) __rotozoomSurfaceSize( width, height, angle, zoom, w, h ) return [w.get_int(0), h.get_int(0)] end
# File lib/ruby-sdl-ffi/gfx/rotozoom.rb, line 75 def self.rotozoomSurfaceSizeXY( width, height, angle, zoomx, zoomy ) w = FFI::Buffer.new( :int ) h = FFI::Buffer.new( :int ) __rotozoomSurfaceSizeXY( width, height, angle, zoomx, zoomy, w, h ) return [w.get_int(0), h.get_int(0)] end
# File lib/ruby-sdl-ffi/gfx.rb, line 42 def self.sdl_func( name, args, ret ) func name, "SDL_#{name}", args, ret end
# File lib/ruby-sdl-ffi/gfx/rotozoom.rb, line 91 def self.zoomSurfaceSize( width, height, zoomx, zoomy ) w = FFI::Buffer.new( :int ) h = FFI::Buffer.new( :int ) __zoomSurfaceSize( width, height, zoomx, zoomy, w, h ) return [w.get_int(0), h.get_int(0)] end
Generated with the Darkfish Rdoc Generator 2.