From ccbb41dedcf9c6424897fab9a1627bad63b7cc52 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 16 May 2022 17:23:20 +0200 Subject: [PATCH] chore(img): update API comments fix: #3350 --- src/widgets/lv_img.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/lv_img.h b/src/widgets/lv_img.h index 9068c50eb..eb76c8d98 100644 --- a/src/widgets/lv_img.h +++ b/src/widgets/lv_img.h @@ -114,6 +114,7 @@ void lv_img_set_offset_y(lv_obj_t * obj, lv_coord_t y); /** * Set the rotation angle of the image. * The image will be rotated around the set pivot set by `lv_img_set_pivot()` + * Note that indexed and alpha only images can't be transformed. * @param obj pointer to an image object * @param angle rotation angle in degree with 0.1 degree resolution (0..3600: clock wise) */ @@ -121,7 +122,7 @@ void lv_img_set_angle(lv_obj_t * obj, int16_t angle); /** * Set the rotation center of the image. - * The image will be rotated around this point + * The image will be rotated around this point. * @param obj pointer to an image object * @param x rotation center x of the image * @param y rotation center y of the image @@ -131,6 +132,7 @@ void lv_img_set_pivot(lv_obj_t * obj, lv_coord_t x, lv_coord_t y); /** * Set the zoom factor of the image. + * Note that indexed and alpha only images can't be transformed. * @param img pointer to an image object * @param zoom the zoom factor. * @example 256 or LV_ZOOM_IMG_NONE for no zoom