xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d8ea2eb2cd6df7be54d2bc9a745c302d1aa1e20b

commit d8ea2eb2cd6df7be54d2bc9a745c302d1aa1e20b
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Tue Oct 29 18:42:04 2019 +0100

    efl/gfx: add Efl.Gfx.Align type
    
    Summary:
    this can be used to more explicitly specify that a double is intended to
    be a value of 0.0 to 1.0 for the purpose of aligning objects. it also avoids
    the need to copy and paste the same docs around everywhere
    
    Reviewers: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10554
---
 src/lib/efl/interfaces/efl_gfx_types.eot | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot 
b/src/lib/efl/interfaces/efl_gfx_types.eot
index dbc86557e5..75d70e6e90 100644
--- a/src/lib/efl/interfaces/efl_gfx_types.eot
+++ b/src/lib/efl/interfaces/efl_gfx_types.eot
@@ -1,5 +1,16 @@
 import eina_types;
 
+type Efl.Gfx.Align: double; [[Efl alignment type:
+                              As a horizontal component, 0.0 means the start 
of the axis
+                              in the direction that the current language 
reads, 1.0 means the end of the axis.
+
+                              As a vertical component, 0.0 is the top, 1.0 is 
the bottom.
+
+                              The default for this type is always 0.5 unless 
explicitly specified.
+
+                              @since 1.24
+                            ]]
+
 enum @beta Efl.Gfx.Colorspace {
   [[Graphics colorspace type]]
   argb8888,             [[ARGB 32 bits per pixel, high-byte is Alpha, accessed 
one 32bit word at a time.]]

-- 


Reply via email to