-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rotate Base object (lv_obj) v9 #6218
Comments
If I understand correctly, yes, that aspect is the same in version 9 compared to version 8. https://docs.lvgl.io/master/overview/obj.html Regarding |
lv_img_set_angle and lv_obj_set_style_transform_angle not work. |
Do you get a compiler error or do they not work as intended at runtime? |
Compiles but does not work properly. More precisely, there is no image. At the same time, the stream in which lvgl loads the processor by 100%. |
Is it a binary image? See #6193. This is a known weakness of binary images. https://docs.lvgl.io/master/widgets/image.html#transformations
|
This is a png-decoded image in ARGB8888 format, which is located in the RAM array. |
Interesting. Could you please send some code to reproduce the issue? |
Load image:
Image display:
|
The angle is in 0.1° unit, so it should be: lv_img_set_angle(imgArrow, (1800+osdDirHome.Angel*10)%3600); //1800 and %3600 |
I agree. But that's not the problem. |
I can't seem to reproduce it. Does it work perfectly when you don't set the angle? |
If the angle is 0, then everything works, in other cases the program hangs. |
You mentioned the CPU goes to 100%. There's a chance an |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
Introduce the problem
Do I return a Base object (lv_obj) with all objects on it in version 9? In version 8 I used lv_obj_set_style_transform_angle.
Proposal
No response
The text was updated successfully, but these errors were encountered: