docs: evas_canvas: fill gaps in evas canvas primitives eo file documentation

This commit is contained in:
Stefan Schmidt 2016-11-15 11:48:25 +01:00
parent 1abaecc481
commit b768a365e6
7 changed files with 129 additions and 124 deletions

View File

@ -6,6 +6,7 @@ type @extern va_list: __undefined_type; [[va_list type]] /* FIXME: va_list is no
class Evas.Box (Efl.Canvas.Group.Clipped)
{
[[Evas box class]]
legacy_prefix: evas_object_box;
eo_prefix: evas_obj_box;
event_prefix: evas_box;
@ -35,7 +36,7 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
}
values {
horizontal: double; [[The horizontal alignment, in pixels.]]
vertical: double; [[the vertical alignment, in pixels.]]
vertical: double; [[The vertical alignment, in pixels.]]
}
}
@property padding {
@ -53,7 +54,7 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
}
values {
horizontal: Evas.Coord; [[The horizontal padding, in pixels.]]
vertical: Evas.Coord; [[the vertical padding, in pixels.]]
vertical: Evas.Coord; [[The vertical padding, in pixels.]]
}
}
@property layout {
@ -127,8 +128,8 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
be set, by the evas_object_size_hint_{min,max}_set
functions.]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
layout_vertical {
@ -138,8 +139,8 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
evas_object_box_layout_horizontal. The description of its
behaviour can be derived from that function's documentation.]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
layout_homogeneous_max_size_horizontal {
@ -184,17 +185,17 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
try to resize this child element to the exact height of its parent
(respecting the max hint on the child's height).]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
internal_remove {
[[No description supplied by the EAPI.]]
return: Efl.Canvas.Object;
return: Efl.Canvas.Object; [[New object with child removed]]
legacy: null;
params {
@in child: Efl.Canvas.Object;
@in child: Efl.Canvas.Object; [[Child object to be removed]]
}
}
layout_flow_vertical {
@ -204,15 +205,15 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
evas_object_box_layout_flow_horizontal. The description of its
behaviour can be derived from that function's documentation.]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
internal_option_free {
[[No description supplied by the EAPI.]]
legacy: null;
params {
@in opt: ptr(Evas_Object_Box_Option);
@in opt: ptr(Evas_Object_Box_Option); [[Box option to be freed]]
}
}
insert_after {
@ -243,9 +244,9 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
each of $o's child objects, in sequence. If, and only if, all
those calls succeed, so does this one.]]
return: bool; [[$true, on success, $false otherwise.]]
return: bool; [[$true on success, $false otherwise.]]
params {
@in clear: bool; [[if true, it will delete just removed children.]]
@in clear: bool; [[If $true, it will delete just removed children.]]
}
}
iterator_new @const {
@ -331,9 +332,9 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
internal_append {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in child: Efl.Canvas.Object; [[Child object to be appended]]
}
}
option_property_vset {
@ -358,9 +359,9 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
internal_remove_at {
[[No description supplied by the EAPI.]]
legacy: null;
return: Efl.Canvas.Object;
return: Efl.Canvas.Object; [[Canvas object]]
params {
@in pos: uint;
@in pos: uint; [[Position of object to be removed]]
}
}
remove_at {
@ -405,10 +406,10 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
internal_insert_at {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in pos: uint;
@in child: Efl.Canvas.Object; [[Child object to be inserted]]
@in pos: uint; [[Position where the object will be inserted]]
}
}
insert_before {
@ -451,10 +452,10 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
internal_insert_before {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in reference: const(Efl.Canvas.Object);
@in child: Efl.Canvas.Object; [[Object to be inserted]]
@in reference: const(Efl.Canvas.Object); [[Reference where the object will be inserted]]
}
}
layout_homogeneous_horizontal {
@ -490,16 +491,16 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
try to resize this child element to the exact height of its parent
(respecting the maximum size hint on the child's height).]]
params {
@in priv: ptr(Evas_Object_Box_Data);
@in data: void_ptr;
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
@in data: void_ptr; [[Data pointer]]
}
}
internal_option_new {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in child: Efl.Canvas.Object; [[New box object]]
}
}
layout_homogeneous_max_size_vertical {
@ -511,17 +512,17 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
description of its behaviour can be derived from that function's
documentation.]]
params {
@in priv: ptr(Evas_Object_Box_Data);
@in data: void_ptr;
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
@in data: void_ptr; [[Data pointer]]
}
}
internal_insert_after {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in reference: const(Efl.Canvas.Object);
@in child: Efl.Canvas.Object; [[Object top be inserted]]
@in reference: const(Efl.Canvas.Object); [[Reference where the object will be inserted]]
}
}
insert_at {
@ -550,9 +551,9 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
internal_prepend {
[[No description supplied by the EAPI.]]
legacy: null;
return: ptr(Evas_Object_Box_Option);
return: ptr(Evas_Object_Box_Option); [[Box option]]
params {
@in child: Efl.Canvas.Object;
@in child: Efl.Canvas.Object; [[Object to be prepended]]
}
}
remove {
@ -593,8 +594,8 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
width and accounting for its horizontal padding properties). The
same applies to the vertical axis.]]
params {
@in priv: ptr(Evas_Object_Box_Data);
@in data: void_ptr;
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
@in data: void_ptr; [[Data pointer]]
}
}
layout_homogeneous_vertical {
@ -605,8 +606,8 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
evas_object_box_layout_homogeneous_horizontal. The description
of its behaviour can be derived from that function's documentation.]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
layout_flow_horizontal {
@ -644,14 +645,14 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
$align_y dictates positioning relative to the largest
height required by a child object in the actual row.]]
params {
priv: ptr(Evas_Object_Box_Data);
data: void_ptr;
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
data: void_ptr; [[Data pointer]]
}
}
count {
[[Returns the number of items in the box.]]
legacy: null;
return: int;
return: int; [[Number of items in the box]]
}
}
implements {
@ -663,8 +664,7 @@ class Evas.Box (Efl.Canvas.Group.Clipped)
Efl.Canvas.Group.group_del;
}
events {
child,added;
child,removed;
child,added; [[Called when a child object was added to the box]]
child,removed; [[Called when a child object was removed from the box]]
}
}

View File

@ -3,6 +3,7 @@ import efl_input_types;
class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
{
[[Evas canvas class]]
legacy_prefix: evas;
data: Evas_Public_Data;
methods {
@ -239,7 +240,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
@since 1.2
]]
return: int;
return: int; [[Mouse or multi presses currently active]]
}
}
@property smart_objects_calculate_count {
@ -259,13 +260,13 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
@since 1.1
]]
return: int;
return: int; [[Number of smart calculations]]
}
}
@property focus_state {
get {
[[Get the focus state known by the given evas.]]
return: bool;
return: bool; [[$true if focused, $false otherwise]]
}
}
@property changed {
@ -274,7 +275,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
@since 1.11
]]
return: bool;
return: bool; [[$true if changed, $false otherwise]]
}
}
@property pointer_output_xy {
@ -330,7 +331,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
else printf("Mouse is out!\n");
@endcode
*/
return: bool @warn_unused;
return: bool @warn_unused; [[$true if the mouse pointer is inside the canvas, $false otherwise]]
}
}
@property image_max_size {
@ -346,7 +347,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
@since 1.1
]]
return: bool;
return: bool; [[$true if it can handle the maximum image size, $false otherwise]]
}
values {
maxw: int; [[Pointer to hold the return value in pixels of the maximum width.]]
@ -440,7 +441,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
It will not append to the list pass events as hidden objects.
Call eina_list_free on the returned list after usage.
]]
return: list<Efl.Canvas.Object> @warn_unused;
return: list<Efl.Canvas.Object> @warn_unused; [[List of objects]]
params {
@in stop: Efl.Canvas.Object; [[An Evas Object where to stop searching.]]
@in x: int; [[The horizontal coordinate of the position.]]
@ -720,14 +721,15 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
]]
}
objects_in_rectangle_get @const {
return: list<Efl.Canvas.Object> @warn_unused;
[[Get all objects in the given rectangle]]
return: list<Efl.Canvas.Object> @warn_unused; [[List of objects]]
params {
@in x: Evas.Coord;
@in y: Evas.Coord;
@in w: Evas.Coord;
@in h: Evas.Coord;
@in include_pass_events_objects: bool;
@in include_hidden_objects: bool;
@in x: Evas.Coord; [[X coordinate]]
@in y: Evas.Coord; [[Y coordinate]]
@in w: Evas.Coord; [[Width]]
@in h: Evas.Coord; [[Height]]
@in include_pass_events_objects: bool; [[$true if the list should include objects which pass events]]
@in include_hidden_objects: bool; [[$true if the list should include hidden objects]]
}
}
object_name_find @const {
@ -815,6 +817,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
}
}
sync {
[[Sync evas canvas]]
}
font_path_list @const {
[[Retrieves the list of font paths used by the given evas.]]
@ -849,7 +852,7 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
*/
return: int @warn_unused; [[The output/screen coordinate translated to output coordinates.]]
params {
@in x: Evas.Coord; [[The canvas x coordinate.]]
@in x: Evas.Coord; [[The canvas X coordinate.]]
}
}
render_updates {
@ -1182,9 +1185,9 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface)
Efl.Object.provider_find;
}
events {
render,flush,pre @beta;
render,flush,post @beta;
axis,update @beta;
viewport,resize @beta;
render,flush,pre @beta; [[Called on render flush pre phase]]
render,flush,post @beta; [[Called on render flush post phase]]
axis,update @beta; [[Called on axis update]]
viewport,resize @beta; [[Called on viewport resize]]
}
}

View File

@ -1,5 +1,6 @@
class Evas.Grid (Efl.Canvas.Group.Clipped)
{
[[Evas grid class]]
legacy_prefix: evas_object_grid;
eo_prefix: evas_obj_grid;
methods {
@ -19,7 +20,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
@since 1.1]]
}
values {
mirrored: bool; [[the mirrored mode to set.]]
mirrored: bool; [[$true if mirrored mode is set, $false otherwise]]
}
}
@property size {
@ -50,7 +51,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
list, but these removals won't be reflected on it.
@since 1.1]]
return: free(own(list<Efl.Canvas.Object>), eina_list_free) @warn_unused;
return: free(own(list<Efl.Canvas.Object>), eina_list_free) @warn_unused; [[Iterator to grid children]]
}
}
accessor_new @const {
@ -59,8 +60,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
Note: Do not remove or delete objects while walking the list.
@since 1.1]]
return: free(own(accessor<Efl.Canvas.Object>), eina_accessor_free)
@warn_unused;
return: free(own(accessor<Efl.Canvas.Object>), eina_accessor_free) @warn_unused; [[Accessor to children list]]
}
clear {
[[Faster way to remove all child objects from a grid object.
@ -68,7 +68,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
@since 1.1]]
params {
@in clear: bool; [[if true, it will delete just removed children.]]
@in clear: bool; [[if $true, it will delete just removed children.]]
}
}
iterator_new @const {
@ -77,8 +77,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
Note: Do not remove or delete objects while walking the list.
@since 1.1]]
return: free(own(iterator<Efl.Canvas.Object>), eina_iterator_free)
@warn_unused;
return: free(own(iterator<Efl.Canvas.Object>), eina_iterator_free) @warn_unused; [[Iterator]]
}
add_to {
[[Create a grid that is child of a given element parent.
@ -87,7 +86,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
@since 1.1]]
return: Efl.Canvas.Object @warn_unused;
return: Efl.Canvas.Object @warn_unused; [[New child object]]
}
unpack {
[[Remove child from grid.
@ -100,7 +99,7 @@ class Evas.Grid (Efl.Canvas.Group.Clipped)
return: bool; [[1 on success, 0 on failure.]]
params {
@in child: Efl.Canvas.Object @nonull;
@in child: Efl.Canvas.Object @nonull; [[Child to be removed]]
}
}
pack_get @const {

View File

@ -2,6 +2,7 @@ import evas_types;
class Evas.Line (Efl.Canvas.Object)
{
[[Evas line class]]
legacy_prefix: evas_object_line;
eo_prefix: evas_obj_line;
methods {
@ -29,5 +30,4 @@ class Evas.Line (Efl.Canvas.Object)
implements {
Efl.Object.constructor;
}
}

View File

@ -11,6 +11,7 @@ enum Evas.Object_Table.Homogeneous_Mode {
class Evas.Table (Efl.Canvas.Group.Clipped)
{
[[Evas table class]]
legacy_prefix: evas_object_table;
eo_prefix: evas_obj_table;
methods {
@ -60,7 +61,7 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
get {
}
values {
homogeneous: Evas.Object_Table.Homogeneous_Mode;
homogeneous: Evas.Object_Table.Homogeneous_Mode; [[Table homogeneous mode]]
}
}
@property align {
@ -70,8 +71,8 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
get {
}
values {
horizontal: double;
vertical: double;
horizontal: double; [[Horizontal alignment]]
vertical: double; [[Vertical alignment]]
}
}
@property padding {
@ -81,8 +82,8 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
get {
}
values {
horizontal: Evas.Coord;
vertical: Evas.Coord;
horizontal: Evas.Coord; [[Horizontal padding]]
vertical: Evas.Coord; [[Vertical padding]]
}
}
@property mirrored {
@ -109,8 +110,8 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
accounted proportionally.]]
}
values {
cols: int;
rows: int;
cols: int; [[Columns in Table]]
rows: int; [[Rows in table]]
}
}
@property children {
@ -121,7 +122,7 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
It's up to the user to destroy it when it no longer needs it.
It's possible to remove objects from the table when walking this
list, but these removals won't be reflected on it.]]
return: free(own(list<Efl.Canvas.Object>), eina_list_free) @warn_unused;
return: free(own(list<Efl.Canvas.Object>), eina_list_free) @warn_unused; [[Children list]]
}
}
@property child {
@ -131,11 +132,11 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
Note: This does not take into account col/row spanning]]
}
keys {
col: ushort;
row: ushort;
col: ushort; [[Child column]]
row: ushort; [[Child row]]
}
values {
child: Efl.Canvas.Object;
child: Efl.Canvas.Object; [[Child object]]
}
}
clear {
@ -150,19 +151,19 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
Note: Do not remove or delete objects while walking the list.]]
return: free(own(accessor<Efl.Canvas.Object>), eina_accessor_free)
@warn_unused;
@warn_unused; [[Accessor to children list]]
}
iterator_new @const {
[[Get an iterator to walk the list of children for the table.
Note: Do not remove or delete objects while walking the list.]]
return: free(own(iterator<Efl.Canvas.Object>), eina_iterator_free)
@warn_unused;
@warn_unused; [[Iterator to children]]
}
add_to {
[[Create a table that is child of a given element $parent.]]
return: Efl.Canvas.Object @warn_unused;
return: Efl.Canvas.Object @warn_unused; [[Children table]]
}
pack_get @const {
[[Get packing location of a child of table
@ -171,10 +172,10 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
return: bool; [[$true on success, $false on failure.]]
params {
@in child: Efl.Canvas.Object; [[The child object to add.]]
@out col: ushort; [[pointer to store relative-horizontal position to place child.]]
@out row: ushort; [[pointer to store relative-vertical position to place child.]]
@out colspan: ushort; [[pointer to store how many relative-horizontal position to use for this child.]]
@out rowspan: ushort; [[pointer to store how many relative-vertical position to use for this child.]]
@out col: ushort; [[Pointer to store relative-horizontal position to place child.]]
@out row: ushort; [[Pointer to store relative-vertical position to place child.]]
@out colspan: ushort; [[Pointer to store how many relative-horizontal position to use for this child.]]
@out rowspan: ushort; [[Pointer to store how many relative-vertical position to use for this child.]]
}
}
pack {
@ -189,10 +190,10 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
return: bool; [[$true on success, $false on failure.]]
params {
@in child: Efl.Canvas.Object @nonull; [[The child object to add.]]
@in col: ushort; [[relative-horizontal position to place child.]]
@in row: ushort; [[relative-vertical position to place child.]]
@in colspan: ushort; [[how many relative-horizontal position to use for this child.]]
@in rowspan: ushort; [[how many relative-vertical position to use for this child.]]
@in col: ushort; [[Relative-horizontal position to place child.]]
@in row: ushort; [[Relative-vertical position to place child.]]
@in colspan: ushort; [[How many relative-horizontal position to use for this child.]]
@in rowspan: ushort; [[How many relative-vertical position to use for this child.]]
}
}
unpack {
@ -204,13 +205,13 @@ class Evas.Table (Efl.Canvas.Group.Clipped)
return: bool; [[$true on success, $false on failure.]]
params {
@in child: Efl.Canvas.Object @nonull;
@in child: Efl.Canvas.Object @nonull; [[Child to be removed]]
}
}
count {
[[Returns the number of items in the box.]]
[[Returns the number of items in the table]]
legacy: null;
return: int;
return: int; [[Number of items in table]]
}
}
implements {

View File

@ -1,5 +1,6 @@
class Evas.Text (Efl.Canvas.Object, Efl.Text, Efl.Text.Properties, Efl.Canvas.Filter.Internal)
{
[[Evas tex class]]
legacy_prefix: evas_object_text;
eo_prefix: evas_obj_text;
methods {
@ -50,7 +51,7 @@ class Evas.Text (Efl.Canvas.Object, Efl.Text, Efl.Text.Properties, Efl.Canvas.Fi
get {
}
values {
ellipsis: double(-1); [[the ellipsis. Allowed values: -1.0 or 0.0-1.0]]
ellipsis: double(-1); [[The ellipsis. Allowed values: -1.0 or 0.0-1.0]]
}
}
@property bidi_delimiters {
@ -134,7 +135,7 @@ class Evas.Text (Efl.Canvas.Object, Efl.Text, Efl.Text.Properties, Efl.Canvas.Fi
get {
}
values {
style: Evas.Text_Style_Type; [[a style type.]]
style: Evas.Text_Style_Type; [[Style type]]
}
}
@property glow_color {
@ -160,7 +161,7 @@ class Evas.Text (Efl.Canvas.Object, Efl.Text, Efl.Text.Properties, Efl.Canvas.Fi
}
@property max_descent {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property style_pad {
@ -179,56 +180,56 @@ class Evas.Text (Efl.Canvas.Object, Efl.Text, Efl.Text.Properties, Efl.Canvas.Fi
[[Retrieves the direction of the text currently being displayed in the
text object.]]
return: Efl.Text.Bidirectional_Type;
return: Efl.Text.Bidirectional_Type; [[Bidirectional type]]
}
}
@property ascent {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property horiz_advance {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property inset {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property max_ascent {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property vert_advance {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
@property descent {
get {
return: Evas.Coord;
return: Evas.Coord; [[Evas coordinate]]
}
}
last_up_to_pos @const {
[[Returns the logical position of the last char in the text up to the pos given. this is NOT the position of the last char because of the possibility of RTL in the text.]]
return: int(-1);
[[Returns the logical position of the last char in the text up to the pos given. This is NOT the position of the last char because of the possibility of RTL in the text.]]
return: int(-1); [[Logical position of the last char]]
params {
@in x: Evas.Coord;
@in y: Evas.Coord;
@in x: Evas.Coord; [[X coordinate]]
@in y: Evas.Coord; [[Y coordinate]]
}
}
char_coords_get @const {
return: int;
return: int; [[Logical poistion of char]]
params {
@in x: Evas.Coord;
@in y: Evas.Coord;
@out cx: Evas.Coord;
@out cy: Evas.Coord;
@out cw: Evas.Coord;
@out ch: Evas.Coord;
@in x: Evas.Coord; [[X coordinate]]
@in y: Evas.Coord; [[Y coordinate]]
@out cx: Evas.Coord; [[X coordinate]]
@out cy: Evas.Coord; [[Y coordinate]]
@out cw: Evas.Coord; [[Width]]
@out ch: Evas.Coord; [[Height]]
}
}
char_pos_get @const {

View File

@ -3,9 +3,9 @@ enum Evas.Textgrid.Palette {
@since 1.7]]
none, [[No palette is used]]
standard, [[standard palette (around 16 colors)]]
extended, [[extended palette (at max 256 colors)]]
last [[ignore it]]
standard, [[Standard palette (around 16 colors)]]
extended, [[Extended palette (at max 256 colors)]]
last [[Sentinel value to indicate last enum field during iteration]]
}
enum Evas.Textgrid.Font_Style {
@ -22,6 +22,7 @@ struct Evas.Textgrid.Cell; [[Evas textgrid cell data structure]]
class Evas.Textgrid (Efl.Canvas.Object, Efl.Text.Properties)
{
[[Evas textgrid class]]
legacy_prefix: evas_object_textgrid;
eo_prefix: evas_obj_textgrid;
methods {