WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=3303911b6b3937d3128356d05d6d02e771d75c75
commit 3303911b6b3937d3128356d05d6d02e771d75c75 Author: jpeg <j...@videolan.org> Date: Wed Jul 15 22:45:24 2015 -0700 Wiki page curve changed with summary [better Lua syntax example] by jpeg --- pages/docs/efl/advanced/eflgfxfilter/curve.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/docs/efl/advanced/eflgfxfilter/curve.txt b/pages/docs/efl/advanced/eflgfxfilter/curve.txt index ece60cf..a533b83 100644 --- a/pages/docs/efl/advanced/eflgfxfilter/curve.txt +++ b/pages/docs/efl/advanced/eflgfxfilter/curve.txt @@ -32,6 +32,11 @@ p[255] = 0 curve ({ points = p }) </code> +This can of course be inlined: +<code Lua> +curve ({ points = { [0] = 255, [255] = 0 } }) +</code> + Another solution is to pass in a function ''f(x)'' that will output values in the 0-255 range. For example: <code Lua> --