This may be a bit more controversial...
But Evas_Coord really is just an int and all the internals
of EFL assume that the base coordinate type is a 32-bit int.
So this type is a bit redondant and can't easily be changed
to, say, a float or int64.
Ref T5312
*/
}
values {
- minw: Evas.Coord; [[Pointer to a variable where to store the minimum width]]
- minh: Evas.Coord; [[Pointer to a variable where to store the minimum height]]
+ minw: int; [[Pointer to a variable where to store the minimum width]]
+ minh: int; [[Pointer to a variable where to store the minimum height]]
}
}
@property size_max {
*/
}
values {
- maxw: Evas.Coord; [[Pointer to a variable where to store the maximum width]]
- maxh: Evas.Coord; [[Pointer to a variable where to store the maximum height]]
+ maxw: int; [[Pointer to a variable where to store the maximum width]]
+ maxh: int; [[Pointer to a variable where to store the maximum height]]
}
}
preload {
documentation, then.]]
params {
- @out minw: Evas.Coord; [[Pointer to a variable where to store the minimum
- required width]]
- @out minh: Evas.Coord; [[Pointer to a variable where to store the minimum
- required height]]
+ @out minw: int; [[Pointer to a variable where to store the minimum
+ required width]]
+ @out minh: int; [[Pointer to a variable where to store the minimum
+ required height]]
}
}
size_min_restricted_calc {
into account in this calculation.]]
params {
- @out minw: Evas.Coord; [[Pointer to a variable where to store the minimum
- required width]]
- @out minh: Evas.Coord; [[Pointer to a variable where to store the minimum
- required height]]
- @in restrictedw: Evas.Coord; [[Do not allow object's calculated (minimum) width
- to be less than this value]]
- @in restrictedh: Evas.Coord; [[Do not allow object's calculated (minimum)
- height to be less than this value]]
+ @out minw: int; [[Pointer to a variable where to store the minimum
+ required width]]
+ @out minh: int; [[Pointer to a variable where to store the minimum
+ required height]]
+ @in restrictedw: int; [[Do not allow object's calculated (minimum) width
+ to be less than this value]]
+ @in restrictedh: int; [[Do not allow object's calculated (minimum)
+ height to be less than this value]]
}
}
parts_extends_calc {
return: bool; [[$true on success, $false otherwise]]
params {
- @out x: Evas.Coord; [[A pointer to a variable where to store the parts region's
- x coordinate]]
- @out y: Evas.Coord; [[A pointer to a variable where to store the parts region's
- y coordinate]]
- @out w: Evas.Coord; [[A pointer to a variable where to store the parts region's
- width]]
- @out h: Evas.Coord; [[A pointer to a variable where to store the parts region's
- height]]
+ @out x: int; [[A pointer to a variable where to store the parts region's
+ x coordinate]]
+ @out y: int; [[A pointer to a variable where to store the parts region's
+ y coordinate]]
+ @out w: int; [[A pointer to a variable where to store the parts region's
+ width]]
+ @out h: int; [[A pointer to a variable where to store the parts region's
+ height]]
}
}
calc_force {
part: string; [[The Edje part's name]]
}
values {
- x: Evas.Coord; [[A pointer to a variable where to store the part's x
- coordinate]]
- y: Evas.Coord; [[A pointer to a variable where to store the part's y
- coordinate]]
- w: Evas.Coord; [[A pointer to a variable where to store the part's width]]
- h: Evas.Coord; [[A pointer to a variable where to store the part's height]]
+ x: int; [[A pointer to a variable where to store the part's x coordinate]]
+ y: int; [[A pointer to a variable where to store the part's y coordinate]]
+ w: int; [[A pointer to a variable where to store the part's width]]
+ h: int; [[A pointer to a variable where to store the part's height]]
}
}
@property part_drag_value {
part: string; [[The part name]]
}
values {
- x: Evas.Coord; [[Cursor X position]]
- y: Evas.Coord; [[Cursor Y position]]
- w: Evas.Coord; [[Cursor width]]
- h: Evas.Coord; [[Cursor height]]
+ x: int; [[Cursor X position]]
+ y: int; [[Cursor Y position]]
+ w: int; [[Cursor width]]
+ h: int; [[Cursor height]]
}
}
@property part_text_cursor_coord {
values {
part: string; [[The part containing the object.]]
cur: Edje.Cursor; [[The cursor to adjust.]]
- x: Evas.Coord; [[X Coordinate.]]
- y: Evas.Coord; [[Y Coordinate.]]
+ x: int; [[X Coordinate.]]
+ y: int; [[Y Coordinate.]]
}
}
@property part_text_cursor_pos {
item: string; [[The item name]]
}
values {
- cx: Evas.Coord; [[Item x return (relative to entry part)]]
- cy: Evas.Coord; [[Item y return (relative to entry part)]]
- cw: Evas.Coord; [[Item width return]]
- ch: Evas.Coord; [[Item height return]]
+ cx: int; [[Item x return (relative to entry part)]]
+ cy: int; [[Item y return (relative to entry part)]]
+ cw: int; [[Item width return]]
+ ch: int; [[Item height return]]
}
}
@property part_text_item_list {
[[EFL UI text anchor information]]
name: string; [[The name of the anchor, as stated in its href.]]
button: int; [[The mouse button used to click on it.]]
- x: Evas.Coord; [[Anchor geometry, relative to canvas.]]
- y: Evas.Coord; [[Anchor geometry, relative to canvas.]]
- w: Evas.Coord; [[Anchor geometry, relative to canvas.]]
- h: Evas.Coord; [[Anchor geometry, relative to canvas.]]
+ x: int; [[Anchor geometry, relative to canvas.]]
+ y: int; [[Anchor geometry, relative to canvas.]]
+ w: int; [[Anchor geometry, relative to canvas.]]
+ h: int; [[Anchor geometry, relative to canvas.]]
}
struct Efl.Ui.Text.Hover_Parent
{
[[EFL text hover parent]]
- x: Evas.Coord; [[Hover parent X coordinate]]
- y: Evas.Coord; [[Hover parent Y coordinate]]
- w: Evas.Coord; [[Hover parent width]]
- h: Evas.Coord; [[Hover parent height]]
+ x: int; [[Hover parent X coordinate]]
+ y: int; [[Hover parent Y coordinate]]
+ w: int; [[Hover parent width]]
+ h: int; [[Hover parent height]]
}
struct Efl.Ui.Text.Anchor_Hover_Info
]]
}
values {
- w: Evas.Coord; [[The new width of the image pixmap representation.]]
- h: Evas.Coord; [[The new height of the image pixmap representation.]]
+ w: int; [[The new width of the image pixmap representation.]]
+ h: int; [[The new height of the image pixmap representation.]]
}
}
}
]]
}
values {
- horizontal: Evas.Coord; [[The horizontal space between elements]]
- vertical: Evas.Coord; [[The vertical space between elements]]
+ horizontal: int; [[The horizontal space between elements]]
+ vertical: int; [[The vertical space between elements]]
}
}
@property layout {
position_at_coordinates_get {
[[Get the row, col position for a given coordinate on the widget.]]
params {
- x: Evas.Coord; [[The x coordinate in the widget]]
- y: Evas.Coord; [[The y coordinate in the widget]]
+ x: int; [[The x coordinate in the widget]]
+ y: int; [[The y coordinate in the widget]]
row: ptr(uint); [[The row for the coordinates]]
col: ptr(int); [[The column for the coordinates]]
}
params {
row: uint; [[The row for the requested position]]
col: int; [[The column for the requested position]]
- x: ptr(Evas.Coord); [[The x coordinate of the cell at specified position]]
- y: ptr(Evas.Coord); [[The y coordinate of the cell at specified position]]
- w: ptr(Evas.Coord); [[The width of the cell at specified position]]
- h: ptr(Evas.Coord); [[The height of the cell at specified position]]
+ x: ptr(int); [[The x coordinate of the cell at specified position]]
+ y: ptr(int); [[The y coordinate of the cell at specified position]]
+ w: ptr(int); [[The width of the cell at specified position]]
+ h: ptr(int); [[The height of the cell at specified position]]
}
return: bool; [[$true if a cell exists at the specified position]]
}
return: bool; [[$true on success, $false otherwise]]
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
- w: Evas.Coord; [[Width]]
- h: Evas.Coord; [[Height]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
+ w: int; [[Width]]
+ h: int; [[Height]]
}
}
@property imf_context {
]]
}
values {
- w: Evas.Coord; [[The group items' width.]]
- h: Evas.Coord; [[The group items' height.]]
+ w: int; [[The group items' width.]]
+ h: int; [[The group items' height.]]
}
}
@property select_mode {
]]
}
values {
- w: Evas.Coord; [[The items' width.]]
- h: Evas.Coord; [[The items' height.]]
+ w: int; [[The items' width.]]
+ h: int; [[The items' height.]]
}
}
@property multi_select_mode {
[[Set a given gengrid widget's scrolling page size.]]
}
values {
- h_pagesize: Evas.Coord; [[Page size horizontal]]
- v_pagesize: Evas.Coord; [[Page size vertical]]
+ h_pagesize: int; [[Page size horizontal]]
+ v_pagesize: int; [[Page size vertical]]
}
}
@property selected_item {
]]
return: Elm.Widget.Item; [[The item at the coordinates or $null if none.]]
params {
- @in x: Evas.Coord; [[The input x coordinate.]]
- @in y: Evas.Coord; [[The input y coordinate.]]
+ @in x: int; [[The input x coordinate.]]
+ @in y: int; [[The input y coordinate.]]
@out xposret: int; [[The position relative to the item returned here.]]
@out yposret: int; [[The position relative to the item returned here.]]
}
@since 1.19]]
}
values {
- w : Evas.Coord; [[The item's width.]]
- h : Evas.Coord; [[The item's height.]]
+ w : int; [[The item's width.]]
+ h : int; [[The item's height.]]
}
}
/* init { FIXME
]]
return: Elm.Widget.Item; [[Item at position]]
params {
- @in x: Evas.Coord; [[The input x coordinate.]]
- @in y: Evas.Coord; [[The input y coordinate.]]
+ @in x: int; [[The input x coordinate.]]
+ @in y: int; [[The input y coordinate.]]
@out posret: int; [[The position relative to the item returned here.]]
}
}
]]
}
values {
- sz: Evas.Coord; [[The finger size.]]
+ sz: int; [[The finger size.]]
}
}
@property hold_events {
[[Get the virtual size of the grid]]
}
values {
- w: Evas.Coord; [[The virtual width of the grid]]
- h: Evas.Coord; [[The virtual height of the grid]]
+ w: int; [[The virtual width of the grid]]
+ h: int; [[The virtual height of the grid]]
}
}
@property children {
[[Pack child at given position and size]]
params {
@in subobj: Efl.Canvas.Object; [[The child to pack.]]
- @in x: Evas.Coord; [[The virtual x coord at which to pack it.]]
- @in y: Evas.Coord; [[The virtual y coord at which to pack it.]]
- @in w: Evas.Coord; [[The virtual width at which to pack it.]]
- @in h: Evas.Coord; [[The virtual height at which to pack it.]]
+ @in x: int; [[The virtual x coord at which to pack it.]]
+ @in y: int; [[The virtual y coord at which to pack it.]]
+ @in w: int; [[The virtual width at which to pack it.]]
+ @in h: int; [[The virtual height at which to pack it.]]
}
}
}
[[Get the size for the thumbnail of a given file selector widget]]
}
values {
- w: Evas.Coord; [[Width]]
- h: Evas.Coord; [[Height]]
+ w: int; [[Width]]
+ h: int; [[Height]]
}
}
@property hidden_visible {
get {
}
values {
- x: Evas.Coord; [[X coordinate of the region]]
- y: Evas.Coord; [[Y coordinate of the region]]
- w: Evas.Coord; [[Width of the region]]
- h: Evas.Coord; [[Height of the region]]
+ x: int; [[X coordinate of the region]]
+ y: int; [[Y coordinate of the region]]
+ w: int; [[Width of the region]]
+ h: int; [[Height of the region]]
}
}
@property repeat_events {
get {
}
values {
- x: Evas.Coord; [[The horizontal page relative size]]
- y: Evas.Coord; [[The vertical page relative size]]
+ x: int; [[The horizontal page relative size]]
+ y: int; [[The vertical page relative size]]
}
}
@property bounce_animator_disabled {
values {
pagerel_h: double; [[Page relation horizontal]]
pagerel_v: double; [[Page relation vertical]]
- pagesize_h: Evas.Coord; [[Page size horizontal]]
- pagesize_v: Evas.Coord; [[Page size vertical]]
+ pagesize_h: int; [[Page size horizontal]]
+ pagesize_v: int; [[Page size vertical]]
}
}
@property single_direction {
get {
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
}
}
@property loop {
get {
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
- w: Evas.Coord; [[Width]]
- h: Evas.Coord; [[Height]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
+ w: int; [[Width]]
+ h: int; [[Height]]
}
}
@property content_size {
This gets the size of the content object of the scroller.]]
}
values {
- w: Evas.Coord; [[Width of the content object.]]
- h: Evas.Coord; [[Height of the content object.]]
+ w: int; [[Width of the content object.]]
+ h: int; [[Height of the content object.]]
}
}
content_pos_set {
[[Set the content position]]
params {
- @in x: Evas.Coord; [[X coordinate]]
- @in y: Evas.Coord; [[Y coordinate]]
+ @in x: int; [[X coordinate]]
+ @in y: int; [[Y coordinate]]
@in sig: bool; [[Send signals to the theme corresponding to the
scroll direction, or if an edge was reached.]]
}
content_pos_get {
[[Get content position]]
params {
- @out x: Evas.Coord; [[X coordinate]]
- @out y: Evas.Coord; [[Y coordinate]]
+ @out x: int; [[X coordinate]]
+ @out y: int; [[Y coordinate]]
}
}
page_show {
See @.content_region_show]]
params {
- @in x: Evas.Coord; [[X coordinate of the region]]
- @in y: Evas.Coord; [[Y coordinate of the region]]
- @in w: Evas.Coord; [[Width of the region]]
- @in h: Evas.Coord; [[Height of the region]]
+ @in x: int; [[X coordinate of the region]]
+ @in y: int; [[Y coordinate of the region]]
+ @in w: int; [[Width of the region]]
+ @in h: int; [[Height of the region]]
}
}
page_bring_in {
region in the virtual content object (0, 0 starting at the top-left of the
virtual content object) is shown within the scroller.]]
params {
- @in x: Evas.Coord; [[X coordinate of the region]]
- @in y: Evas.Coord; [[Y coordinate of the region]]
- @in w: Evas.Coord; [[Width of the region]]
- @in h: Evas.Coord; [[Height of the region]]
+ @in x: int; [[X coordinate of the region]]
+ @in y: int; [[Y coordinate of the region]]
+ @in w: int; [[Width of the region]]
+ @in h: int; [[Height of the region]]
}
}
content_min_limit {
get {
}
values {
- w: Evas.Coord; [[The wrap width in pixels at a minimum where words need to wrap]]
+ w: int; [[The wrap width in pixels at a minimum where words need to wrap]]
}
}
@property slide_speed {
return: Elm.Widget.Item; [[The item at the coordinates or NULL if none]]
params {
- @in x: Evas.Coord; [[The input x coordinate]]
- @in y: Evas.Coord; [[The input y coordinate]]
+ @in x: int; [[The input x coordinate]]
+ @in y: int; [[The input y coordinate]]
@out posret: int; [[The position relative to the item returned here]]
}
}
}
values {
degree: double; [[Angle from 0.0 to 360.0 to rotate around Z axis.]]
- cx: Evas.Coord; [[Rotation's center horizontal position.]]
- cy: Evas.Coord; [[Rotation's center vertical position.]]
+ cx: int; [[Rotation's center horizontal position.]]
+ cy: int; [[Rotation's center vertical position.]]
}
}
@property user_agent {
params {
@in lon: double; [[The longitude to convert.]]
@in lat: double; [[The latitude to convert.]]
- @out x: Evas.Coord; [[A pointer to horizontal coordinate.]]
- @out y: Evas.Coord; [[A pointer to vertical coordinate.]]
+ @out x: int; [[A pointer to horizontal coordinate.]]
+ @out y: int; [[A pointer to vertical coordinate.]]
}
}
overlay_circle_add {
]]
return: ptr(Elm_Map_Overlay); [[The created overlay or $null upon failure.]]
params {
- @in x: Evas.Coord; [[horizontal pixel coordinate.]]
- @in y: Evas.Coord; [[vertical pixel coordinate.]]
+ @in x: int; [[horizontal pixel coordinate.]]
+ @in y: int; [[vertical pixel coordinate.]]
}
}
overlay_add {
The canvas coordinates mean x, y coordinate from current viewport.
]]
params {
- @in x: Evas.Coord; [[Horizontal coordinate of the point to convert.]]
- @in y: Evas.Coord; [[Vertical coordinate of the point to convert.]]
+ @in x: int; [[Horizontal coordinate of the point to convert.]]
+ @in y: int; [[Vertical coordinate of the point to convert.]]
@out lon: double; [[A pointer to the longitude.]]
@out lat: double; [[A pointer to the latitude.]]
}
Note: $x and $y coordinates are relative to parent.
]]
params {
- @in x: Evas.Coord; [[The new X coordinate]]
- @in y: Evas.Coord; [[The new Y coordinate]]
+ @in x: int; [[The new X coordinate]]
+ @in y: int; [[The new Y coordinate]]
}
}
item_add {
get {
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
}
}
@property content_size {
get {
}
values {
- w: Evas.Coord; [[Width]]
- h: Evas.Coord; [[Height]]
+ w: int; [[Width]]
+ h: int; [[Height]]
}
}
@property pos_min {
get {
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
}
}
@property pos_max {
get {
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
}
}
}
get {
}
values {
- size: Evas.Coord; [[Value representing minimum size of left side in pixels.]]
+ size: int; [[Value representing minimum size of left side in pixels.]]
}
}
@property content_right_min_size {
get {
}
values {
- size: Evas.Coord; [[Value representing minimum size of right side in pixels.]]
+ size: int; [[Value representing minimum size of right side in pixels.]]
}
}
}
[[Get padding between cells.]]
}
values {
- horizontal: Evas.Coord; [[The horizontal padding.]]
- vertical: Evas.Coord; [[The vertical padding.]]
+ horizontal: int; [[The horizontal padding.]]
+ vertical: int; [[The vertical padding.]]
}
}
@property align {
return: bool; [[$true on success, $false otherwise]]
}
values {
- x: Evas.Coord; [[X coordinate]]
- y: Evas.Coord; [[Y coordinate]]
- w: Evas.Coord; [[Width]]
- h: Evas.Coord; [[Height]]
+ x: int; [[X coordinate]]
+ y: int; [[Y coordinate]]
+ w: int; [[Width]]
+ h: int; [[Height]]
}
}
@property top {
focus_highlight_geometry_get @const {
[[Get the focus highlight geometry of widget.]]
params {
- @out x: Evas.Coord; [[X coordinate]]
- @out y: Evas.Coord; [[Y coordinate]]
- @out w: Evas.Coord; [[Width]]
- @out h: Evas.Coord; [[Height]]
+ @out x: int; [[X coordinate]]
+ @out y: int; [[Y coordinate]]
+ @out w: int; [[Width]]
+ @out h: int; [[Height]]
}
}
activate {
on_focus_region {
[['Virtual' function returning an inner area of a widget that should be brought into the visible area of a broader viewport, may this context arise.]]
params {
- @out x: Evas.Coord; [[X coordinate]]
- @out y: Evas.Coord; [[Y coordinate]]
- @out w: Evas.Coord; [[Width]]
- @out h: Evas.Coord; [[Height]]
+ @out x: int; [[X coordinate]]
+ @out y: int; [[Y coordinate]]
+ @out w: int; [[Width]]
+ @out h: int; [[Height]]
}
return: bool; [[$true on success, $false otherwise]]
}
show_region_set {
[[Set show region]]
params {
- @in x: Evas.Coord; [[X coordinate]]
- @in y: Evas.Coord; [[Y coordinate]]
- @in w: Evas.Coord; [[Width]]
- @in h: Evas.Coord; [[Height]]
+ @in x: int; [[X coordinate]]
+ @in y: int; [[Y coordinate]]
+ @in w: int; [[Width]]
+ @in h: int; [[Height]]
@in forceshow: bool; [[$true if show should be forced, $false otherwise]]
}
}
show_region_get @const {
[[Get show region]]
params {
- @out x: Evas.Coord @optional; [[X coordinate]]
- @out y: Evas.Coord @optional; [[Y coordinate]]
- @out w: Evas.Coord @optional; [[Width]]
- @out h: Evas.Coord @optional; [[Height]]
+ @out x: int @optional; [[X coordinate]]
+ @out y: int @optional; [[Y coordinate]]
+ @out w: int @optional; [[Width]]
+ @out h: int @optional; [[Height]]
}
}
scroll_freeze_pop {
typedef struct _Evas_Position Evas_Position; /**< associates given point in Canvas and Output */
typedef struct _Evas_Precision_Position Evas_Precision_Position; /**< associates given point in Canvas and Output, with sub-pixel precision */
+typedef int Evas_Coord; /**< Type used for coordinates (in pixels, int). */
typedef int Evas_Font_Size; /**< Type used for font sizes (int). */
/**
point_add {
[[Adds the given point to the given evas polygon object.]]
params {
- @in x: Evas.Coord; [[The X coordinate of the given point.]]
- @in y: Evas.Coord; [[The Y coordinate of the given point.]]
+ @in x: int; [[The X coordinate of the given point.]]
+ @in y: int; [[The Y coordinate of the given point.]]
}
}
points_clear {
]]
get {}
values {
- w: Evas.Coord; [[The width of the object.]]
- h: Evas.Coord; [[The height of the object.]]
+ w: int; [[The width of the object.]]
+ h: int; [[The height of the object.]]
}
}
@property cursor {
]]
get {}
values {
- w: Evas.Coord; [[The width returned.]]
- h: Evas.Coord; [[The height returned.]]
+ w: int; [[The width returned.]]
+ h: int; [[The height returned.]]
}
}
@property style_insets {
]]
get {}
values {
- l: Evas.Coord; [[Left padding]]
- r: Evas.Coord; [[Right padding]]
- t: Evas.Coord; [[Top padding]]
- b: Evas.Coord; [[Bottom padding]]
+ l: int; [[Left padding]]
+ r: int; [[Right padding]]
+ t: int; [[Top padding]]
+ b: int; [[Bottom padding]]
}
}
@property is_empty {
legacy: null;
params {
@in an: ptr(const(Efl.Canvas.Text.Annotation)); [[Given annotation to query]]
- @out x: Evas.Coord; [[X coordinate of the annotation]]
- @out y: Evas.Coord; [[Y coordinate of the annotation]]
- @out w: Evas.Coord; [[Width of the annotation]]
- @out h: Evas.Coord; [[Height of the annotation]]
+ @out x: int; [[X coordinate of the annotation]]
+ @out y: int; [[Y coordinate of the annotation]]
+ @out w: int; [[Width of the annotation]]
+ @out h: int; [[Height of the annotation]]
}
return: bool; [[$true if given annotation is an object item, $false otherwise]]
}
ctype: Efl.Canvas.Text.Cursor.Type; [[The type of the cursor.]]
}
values {
- cx: Evas.Coord; [[The x of the cursor (or upper cursor)]]
- cy: Evas.Coord; [[The y of the cursor (or upper cursor)]]
- cw: Evas.Coord; [[The width of the cursor (or upper cursor)]]
- ch: Evas.Coord; [[The height of the cursor (or upper cursor)]]
- cx2: Evas.Coord; [[The x of the lower cursor]]
- cy2: Evas.Coord; [[The y of the lower cursor]]
- cw2: Evas.Coord; [[The width of the lower cursor]]
- ch2: Evas.Coord; [[The height of the lower cursor]]
+ cx: int; [[The x of the cursor (or upper cursor)]]
+ cy: int; [[The y of the cursor (or upper cursor)]]
+ cw: int; [[The width of the cursor (or upper cursor)]]
+ ch: int; [[The height of the cursor (or upper cursor)]]
+ cx2: int; [[The x of the lower cursor]]
+ cy2: int; [[The y of the lower cursor]]
+ cw2: int; [[The width of the lower cursor]]
+ ch2: int; [[The height of the lower cursor]]
}
}
copy {
[[Sets the position of the cursor according to the X and Y coordinates.]]
legacy: null;
params {
- @in x: Evas.Coord; [[X coord to set by.]]
- @in y: Evas.Coord; [[Y coord to set by.]]
+ @in x: int; [[X coord to set by.]]
+ @in y: int; [[Y coord to set by.]]
}
}
@property object_item_annotation {
See also @.padding.set.]]
}
values {
- horizontal: Evas.Coord; [[The horizontal padding, in pixels.]]
- vertical: Evas.Coord; [[The vertical padding, in pixels.]]
+ horizontal: int; [[The horizontal padding, in pixels.]]
+ vertical: int; [[The vertical padding, in pixels.]]
}
}
@property layout {
dev: Efl.Input.Device; [[The pointer device.]]
}
values {
- x: Evas.Coord; [[The pointer to a Evas_Coord to be filled in.]]
- y: Evas.Coord; [[The pointer to a Evas_Coord to be filled in.]]
+ x: int; [[The pointer to a Evas_Coord to be filled in.]]
+ y: int; [[The pointer to a Evas_Coord to be filled in.]]
}
}
@property pointer_canvas_xy {
*/
}
values {
- x: Evas.Coord; [[The pointer to a Evas_Coord to be filled in.]]
- y: Evas.Coord; [[The pointer to a Evas_Coord to be filled in.]]
+ x: int; [[The pointer to a Evas_Coord to be filled in.]]
+ y: int; [[The pointer to a Evas_Coord to be filled in.]]
}
}
@property event_down_count {
The list of Evas objects that are over the given position in $e.
]]
params {
- @in x: Evas.Coord; [[The horizontal coordinate of the position.]]
- @in y: Evas.Coord; [[The vertical coordinate of the position.]]
+ @in x: int; [[The horizontal coordinate of the position.]]
+ @in y: int; [[The vertical coordinate of the position.]]
@in include_pass_events_objects: bool; [[
Boolean flag to include or not objects which pass events
in this calculation.
]]
return: Efl.Canvas.Object @warn_unused; [[The Evas object that is over all other objects at the given position.]]
params {
- @in x: Evas.Coord; [[The horizontal coordinate of the position.]]
- @in y: Evas.Coord; [[The vertical coordinate of the position.]]
+ @in x: int; [[The horizontal coordinate of the position.]]
+ @in y: int; [[The vertical coordinate of the position.]]
@in include_pass_events_objects: bool; [[
Boolean flag to include or not objects which pass events
in this calculation.
[[Get all objects in the given rectangle]]
return: list<Efl.Canvas.Object> @warn_unused; [[List of objects]]
params {
- @in x: Evas.Coord; [[X coordinate]]
- @in y: Evas.Coord; [[Y coordinate]]
- @in w: Evas.Coord; [[Width]]
- @in h: Evas.Coord; [[Height]]
+ @in x: int; [[X coordinate]]
+ @in y: int; [[Y coordinate]]
+ @in w: int; [[Width]]
+ @in h: int; [[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]]
}
*/
return: int @warn_unused; [[The output/screen coordinate translated to output coordinates.]]
params {
- @in x: Evas.Coord; [[The canvas X coordinate.]]
+ @in x: int; [[The canvas X coordinate.]]
}
}
render_updates {
canvas_y = evas_coord_screen_y_to_world(evas, screen_y);
@endcode
*/
- return: Evas.Coord @warn_unused; [[The screen coordinate translated to canvas unit coordinates.]]
+ return: int @warn_unused; [[The screen coordinate translated to canvas unit coordinates.]]
params {
@in y: int; [[The screen/output y coordinate.]]
}
rectangular region.
]]
params {
- @in x: Evas.Coord; [[
+ @in x: int; [[
The top left corner's horizontal coordinate for the
rectangular region.
]]
- @in y: Evas.Coord; [[
+ @in y: int; [[
The top left corner's vertical coordinate for the
rectangular region.
]]
- @in w: Evas.Coord; [[The width of the rectangular region.]]
- @in h: Evas.Coord; [[The height of the rectangular region.]]
+ @in w: int; [[The width of the rectangular region.]]
+ @in h: int; [[The height of the rectangular region.]]
@in include_pass_events_objects: bool; [[
Boolean flag to include or not objects which pass events
in this calculation.
canvas_x = evas_coord_screen_x_to_world(evas, screen_x);
@endcode
*/
- return: Evas.Coord @warn_unused; [[
+ return: int @warn_unused; [[
The screen coordinate translated to canvas unit coordinates.
]]
params {
*/
return: int @warn_unused; [[The output/screen coordinate translated to output coordinates.]]
params {
- @in y: Evas.Coord; [[The canvas y coordinate.]]
+ @in y: int; [[The canvas y coordinate.]]
}
}
}
]]
}
values {
- x1: Evas.Coord; [[The X coordinate of the first point.]]
- y1: Evas.Coord; [[The Y coordinate of the first point.]]
- x2: Evas.Coord; [[The X coordinate of the second point.]]
- y2: Evas.Coord; [[The Y coordinate of the second point.]]
+ x1: int; [[The X coordinate of the first point.]]
+ y1: int; [[The Y coordinate of the first point.]]
+ x2: int; [[The X coordinate of the second point.]]
+ y2: int; [[The Y coordinate of the second point.]]
}
}
}
get {
}
values {
- horizontal: Evas.Coord; [[Horizontal padding]]
- vertical: Evas.Coord; [[Vertical padding]]
+ horizontal: int; [[Horizontal padding]]
+ vertical: int; [[Vertical padding]]
}
}
@property mirrored {
@property max_descent {
[[Maximal descent property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property style_pad {
@property ascent {
[[Ascent property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property horiz_advance {
[[Horizontal advance property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property inset {
[[Inset property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property max_ascent {
[[Maximal ascent property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property vert_advance {
[[Vertical advance property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
@property descent {
[[descent property]]
get {
- return: Evas.Coord; [[Evas coordinate]]
+ return: int; [[Evas coordinate]]
}
}
last_up_to_pos @const {
]]
return: int(-1); [[Logical position of the last char]]
params {
- @in x: Evas.Coord; [[X coordinate]]
- @in y: Evas.Coord; [[Y coordinate]]
+ @in x: int; [[X coordinate]]
+ @in y: int; [[Y coordinate]]
}
}
char_coords_get @const {
[[Get character coordinates]]
return: int; [[Logical position of char]]
params {
- @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]]
+ @in x: int; [[X coordinate]]
+ @in y: int; [[Y coordinate]]
+ @out cx: int; [[X coordinate]]
+ @out cy: int; [[Y coordinate]]
+ @out cw: int; [[Width]]
+ @out ch: int; [[Height]]
}
}
char_pos_get @const {
return: bool; [[$false on success, $true otherwise]]
params {
@in pos: int; [[The character position to request co-ordinates for.]]
- @out cx: Evas.Coord; [[A pointer to an @Evas.Coord to store the X value in (can be NULL).]]
- @out cy: Evas.Coord; [[A pointer to an @Evas.Coord to store the Y value in (can be NULL).]]
- @out cw: Evas.Coord; [[A pointer to an @Evas.Coord to store the Width value in (can be NULL).]]
- @out ch: Evas.Coord; [[A pointer to an @Evas.Coord to store the Height value in (can be NULL).]]
+ @out cx: int; [[A pointer to an int to store the X value in (can be NULL).]]
+ @out cy: int; [[A pointer to an int to store the Y value in (can be NULL).]]
+ @out cw: int; [[A pointer to an int to store the Width value in (can be NULL).]]
+ @out ch: int; [[A pointer to an int to store the Height value in (can be NULL).]]
}
}
}
-type @extern Evas.Load_Error: int; [[Evas load error type]] /* FIXME: Need to migrate emile. */
-
type Evas.Modifier_Mask: ullong; [[An Evas modifier mask type]]
-type Evas.Coord: int; [[A type for coordinates]]
struct Evas.Modifier; [[An opaque type containing information on which modifier keys are registered in an Evas canvas]]
struct Evas.Lock; [[An opaque type containing information on which lock keys are registered in an Evas canvas]]