Method: Efl::Evas::REvasObject#geometry_get

Defined in:
lib/efl/evas.rb

#geometry_getObject Also known as: geometry

[View source]

175
176
177
178
179
180
181
182
# File 'lib/efl/evas.rb', line 175

def geometry_get
    @ri0 ||= FFI::MemoryPointer.new :int
    @ri1 ||= FFI::MemoryPointer.new :int
    @ri2 ||= FFI::MemoryPointer.new :int
    @ri3 ||= FFI::MemoryPointer.new :int
    Native.evas_object_geometry_get @ptr, @ri0, @ri1, @ri2, @ri3
    [ @ri0.read_int, @ri1.read_int, @ri2.read_int, @ri3.read_int ]
end