summaryrefslogtreecommitdiff
path: root/src/lib/elm_image_legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_image_legacy.h')
-rw-r--r--src/lib/elm_image_legacy.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/lib/elm_image_legacy.h b/src/lib/elm_image_legacy.h
index 4d4e1d8..dddbb71 100644
--- a/src/lib/elm_image_legacy.h
+++ b/src/lib/elm_image_legacy.h
@@ -374,5 +374,50 @@ EAPI Eina_Bool elm_image_fill_outside_get(const Evas_Object *obj);
374 */ 374 */
375EAPI void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled); 375EAPI void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);
376 376
377/** Using Evas_Image_Orient enums.
378 *
379 * @since 1.14
380 *
381 * @ingroup Elm_Image
382 */
383typedef enum _Elm_Image_Orient_Type
384{
385 ELM_IMAGE_ORIENT_NONE = 0 /* Evas.Image_Orient.orient_none */,
386 ELM_IMAGE_ORIENT_0 = 0 /* Evas.Image_Orient.orient_0 */,
387 ELM_IMAGE_ROTATE_90 = 1 /* Evas.Image_Orient.orient_90 */,
388 ELM_IMAGE_ORIENT_90 = 1 /* Evas.Image_Orient.orient_90 */,
389 ELM_IMAGE_ROTATE_180 = 2 /* Evas.Image_Orient.orient_180 */,
390 ELM_IMAGE_ORIENT_180 = 2 /* Evas.Image_Orient.orient_180 */,
391 ELM_IMAGE_ROTATE_270 = 3 /* Evas.Image_Orient.orient_270 */,
392 ELM_IMAGE_ORIENT_270 = 3 /* Evas.Image_Orient.orient_270 */,
393 ELM_IMAGE_FLIP_HORIZONTAL = 4 /* Evas.Image_Orient.flip_horizontal */,
394 ELM_IMAGE_FLIP_VERTICAL = 5 /* Evas.Image_Orient.flip_vertical */,
395 ELM_IMAGE_FLIP_TRANSPOSE = 6 /* Evas.Image_Orient.flip_transpose */,
396 ELM_IMAGE_FLIP_TRANSVERSE = 7 /* Evas.Image_Orient.flip_transverse */
397} Elm_Image_Orient;
398
399/**
400 * @brief Contrtol the image orientation.
401 *
402 * This function allows to rotate or flip the given image.
403 *
404 * @param[in] orient The image orientation Elm.Image.Orient Default is
405 * #ELM_IMAGE_ORIENT_NONE.
406 *
407 * @ingroup Elm_Image
408 */
409EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient);
410
411/**
412 * @brief Contrtol the image orientation.
413 *
414 * This function allows to rotate or flip the given image.
415 *
416 * @return The image orientation Elm.Image.Orient Default is
417 * #ELM_IMAGE_ORIENT_NONE.
418 *
419 * @ingroup Elm_Image
420 */
421EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj);
377 422
378#include "elm_image.eo.legacy.h" 423#include "elm_image.eo.legacy.h"