diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-02-03 19:31:13 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-02-03 20:15:39 +0900 |
commit | bb00fadf526c7c53cad9efdd201ad4264acd79b6 (patch) | |
tree | e549d682d078e5b8a7dd57cfe7f5e4fe9c9c55d3 | |
parent | 4c5881d72ce827117a60fd19b51089688469dd67 (diff) | |
download | efl-devs/jpeg/canvas_eo_cleanup.tar.gz |
Evas canvas: un-protect output_framespace and viewport gettersdevs/jpeg/canvas_eo_cleanup
The setters are still protected.
I wonder if those APIs are actually even relevant now.
-rw-r--r-- | src/lib/evas/canvas/evas_canvas.eo | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/lib/evas/canvas/evas_canvas.eo b/src/lib/evas/canvas/evas_canvas.eo index bb15108510..fcc1416149 100644 --- a/src/lib/evas/canvas/evas_canvas.eo +++ b/src/lib/evas/canvas/evas_canvas.eo @@ -714,6 +714,14 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Core.Animator) @since 1.1 ]] } + values { + x: Evas.Coord; [[The left coordinate in output units, usually pixels.]] + y: Evas.Coord; [[The top coordinate in output units, usually pixels.]] + w: Evas.Coord; [[The width in output units, usually pixels.]] + h: Evas.Coord; [[The height in output units, usually pixels.]] + } + } + @property output_framespace { get { [[Get the render engine's output framespace coordinates in canvas units. @@ -741,6 +749,14 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Core.Animator) is done for ease of use. ]] } + values { + x: Evas.Coord; [[The top-left corner x value of the viewport.]] + y: Evas.Coord; [[The top-left corner y value of the viewport.]] + w: Evas.Coord; [[The width of the viewport. Must be greater than 0.]] + h: Evas.Coord; [[The height of the viewport. Must be greater than 0.]] + } + } + @property output_viewport { get { [[Get the render engine's output viewport coordinates in canvas units. @@ -752,15 +768,6 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Core.Animator) units. Any of $x, $y, $w or $h that are $null will not be written to. If $e is invalid, the results are undefined. ]] - /* FIXME-doc - Example: - @code - extern Evas *evas; - Evas_Coord x, y, width, height; - - evas_output_viewport_get(evas, &x, &y, &w, &h); - @endcode - */ } values { x: Evas.Coord; [[The top-left corner x value of the viewport.]] |