The Ruby/GD2 interface using FFI bindings.