summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 8dab0a9..5a22c2b 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -70,6 +70,7 @@ enum _Evas_Filter_Mode
70 EVAS_FILTER_MODE_TRANSFORM, /**< Apply a simple geometrical transformation */ 70 EVAS_FILTER_MODE_TRANSFORM, /**< Apply a simple geometrical transformation */
71 EVAS_FILTER_MODE_PADDING_SET, /**< Special padding_set instruction to force a specific padding value */ 71 EVAS_FILTER_MODE_PADDING_SET, /**< Special padding_set instruction to force a specific padding value */
72 EVAS_FILTER_MODE_GRAYSCALE, /**< Leave only grayscale information */ 72 EVAS_FILTER_MODE_GRAYSCALE, /**< Leave only grayscale information */
73 EVAS_FILTER_MODE_INVERSE_COLOR,/**< Apply inverse color */
73 EVAS_FILTER_MODE_LAST 74 EVAS_FILTER_MODE_LAST
74}; 75};
75 76
@@ -318,6 +319,17 @@ Evas_Filter_Command *evas_filter_command_transform_add(Evas_Filter_Context *
318 */ 319 */
319Evas_Filter_Command *evas_filter_command_grayscale_add(Evas_Filter_Context *ctx, void *draw_context, int inbuf, int outbuf); 320Evas_Filter_Command *evas_filter_command_grayscale_add(Evas_Filter_Context *ctx, void *draw_context, int inbuf, int outbuf);
320 321
322/**
323 * @brief Apply inverse color of the buffer
324 * @param ctx Current filter chain
325 * @param draw_context Current Evas draw context (ignored)
326 * @param inbuf Input buffer (Alpha or RGBA)
327 * @param outbuf Output buffer (Alpha or RGBA), same size as inbuf
328 * @return Filter command or NULL in case of error
329 * @internal
330 */
331Evas_Filter_Command *evas_filter_command_inverse_color_add(Evas_Filter_Context *ctx, void *draw_context, int inbuf, int outbuf);
332
321/* Simple binding between a filter object and its sources */ 333/* Simple binding between a filter object and its sources */
322struct _Evas_Filter_Proxy_Binding 334struct _Evas_Filter_Proxy_Binding
323{ 335{