Method: Efl::Evas::REvasText#char_pos_get

Defined in:
lib/efl/evas.rb

#char_pos_get(pos) ⇒ Object Also known as: char_pos

[View source]

332
333
334
335
336
337
338
339
# File 'lib/efl/evas.rb', line 332

def char_pos_get pos
    @ri0 ||= FFI::MemoryPointer.new :int
    @ri1 ||= FFI::MemoryPointer.new :int
    @ri2 ||= FFI::MemoryPointer.new :int
    @ri3 ||= FFI::MemoryPointer.new :int
    Native.evas_object_text_char_pos_get @ptr, pos, @ri0, @ri1, @ri2, @ri3
    return [ @ri0.read_int, @ri1.read_int, @ri2.read_int, @ri3.read_int ]
end