Class: Efl::Evas::REvasText

Inherits:
REvasObject show all
Defined in:
lib/efl/evas.rb

Instance Method Summary collapse

Methods inherited from REvasObject

#above_get, #below_get, #center_get, #center_set, #color_get, #data_get, #ecore_evas_get, #evas_get, #evas_name, #evas_type, #free, #geometry_get, #initialize, #object_box_add, release, #size, #size=, #size_hint_align_get, #size_hint_align_set_fill, #size_hint_aspect_get, #size_hint_max_get, #size_hint_min_get, #size_hint_padding_get, #size_hint_request_get, #size_hint_weight_get, #size_hint_weight_set_expand, #size_hint_weight_set_expand_fill

Methods included from ClassHelper

#===, #address, included, #method_missing, #null?, #to_a, #to_ary, #to_ptr, #to_s

Constructor Details

This class inherits a constructor from Efl::Evas::REvasObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Efl::ClassHelper

Instance Method Details

#char_coords_get(x, y) ⇒ Object Also known as: char_coords


341
342
343
344
345
346
347
348
# File 'lib/efl/evas.rb', line 341

def char_coords_get x, y
    @ri0 ||= FFI::MemoryPointer.new :int
    @ri1 ||= FFI::MemoryPointer.new :int
    @ri2 ||= FFI::MemoryPointer.new :int
    @ri3 ||= FFI::MemoryPointer.new :int
    r = Native.evas_object_text_char_coords_get @ptr, x, y, @ri0, @ri1, @ri2, @ri3
    return [ r, @ri0.read_int, @ri1.read_int, @ri2.read_int, @ri3.read_int ]
end

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


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

#font_getObject Also known as: font


325
326
327
328
329
330
# File 'lib/efl/evas.rb', line 325

def font_get
    @rs0 ||= FFI::MemoryPointer.new :string
    @ri0 ||= FFI::MemoryPointer.new :int
    Native.evas_object_text_font_get @ptr, @rs0, @ri0
    [ @rs0.read_pointer.read_string, @ri0.read_int ]
end

#glow2_color_getObject Also known as: glow2_color


377
378
379
380
381
382
383
384
# File 'lib/efl/evas.rb', line 377

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

#glow_color_getObject Also known as: glow_color


368
369
370
371
372
373
374
375
# File 'lib/efl/evas.rb', line 368

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

#outline_color_getObject Also known as: outline_color


386
387
388
389
390
391
392
393
# File 'lib/efl/evas.rb', line 386

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

#shadow_color_getObject Also known as: shadow_color


359
360
361
362
363
364
365
366
# File 'lib/efl/evas.rb', line 359

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

#style_pad_getObject Also known as: style_pad


350
351
352
353
354
355
356
357
# File 'lib/efl/evas.rb', line 350

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