summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_types.eot
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-29 18:42:04 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-29 18:57:40 +0100
commitd8ea2eb2cd6df7be54d2bc9a745c302d1aa1e20b (patch)
treec8a1092433e5d18ef26e9eec0522eea73f945bf3 /src/lib/efl/interfaces/efl_gfx_types.eot
parent7b59fec40e364c43573cdfd0f914cb5b31009fbd (diff)
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
Diffstat (limited to 'src/lib/efl/interfaces/efl_gfx_types.eot')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_types.eot11
1 files changed, 11 insertions, 0 deletions
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 @@
1import eina_types; 1import eina_types;
2 2
3type Efl.Gfx.Align: double; [[Efl alignment type:
4 As a horizontal component, 0.0 means the start of the axis
5 in the direction that the current language reads, 1.0 means the end of the axis.
6
7 As a vertical component, 0.0 is the top, 1.0 is the bottom.
8
9 The default for this type is always 0.5 unless explicitly specified.
10
11 @since 1.24
12 ]]
13
3enum @beta Efl.Gfx.Colorspace { 14enum @beta Efl.Gfx.Colorspace {
4 [[Graphics colorspace type]] 15 [[Graphics colorspace type]]
5 argb8888, [[ARGB 32 bits per pixel, high-byte is Alpha, accessed one 32bit word at a time.]] 16 argb8888, [[ARGB 32 bits per pixel, high-byte is Alpha, accessed one 32bit word at a time.]]