Commit Graph

21 Commits

Author SHA1 Message Date
VIFEX
2b97e0c022 fix(draw_vector): alleviate the loss of precision in obtaining path bound (#7635)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2025-01-23 13:15:54 -05:00
Pavi92
83582f6a3a fix(arc): add missing private include (#6648)
Co-authored-by: liamHowatt <liamjmh0@gmail.com>
2024-08-12 14:54:42 +02:00
Liam
1d14386b99 refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names (#6068)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-08-02 07:46:42 +02:00
VIFEX
0980518441 feat(draw): add global matrix drawing modes (#4883)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
2024-07-25 21:24:59 +08:00
Josh Soref
df0d36f02a chore: fix spelling (#6401)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-06-28 09:09:23 +02:00
VIFEX
b5fc162d66 chore(draw_vector): complete printing information (#6399)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-06-21 09:52:34 +02:00
VIFEX
e1547a126f refact(draw_vector): standardized draw gradient API (#6344)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-06-20 18:31:21 +08:00
Michael Simon
352420cd54 refacter(conf): use defines for standard includes (#5767)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-03-20 12:10:33 +08:00
duliang2008
97ef456e41 fix(draw_vector): check the point lenght of path in lv_vector_path_get_bounding (#5734)
Signed-off-by: duxiaoliang <duxiaoliang@xiaomi.com>
Co-authored-by: duxiaoliang <duxiaoliang@xiaomi.com>
2024-02-26 17:19:09 +08:00
_VIFEXTech
4a5f88bf52 fix(draw_vector): remove redundant MOVE_TO operations (#5715)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-02-24 13:07:15 +01:00
Neo Xu
e4de2d265a feat(vector): add API to append arc (#5510)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-30 17:33:10 +08:00
Neo Xu
6fa79e945f chore(array): use array_front and use it like an array (#5448)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-24 13:55:04 +01:00
Zhang Ji Peng
377a99947f fix(vector) : add path bounding and matrix transform functions. (#5389)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
2024-01-23 08:11:01 +01:00
Neo Xu
ed3e485b22 feat(array): make the API of lv_array module STL-like (#5300)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-18 13:45:46 +01:00
Zhang Ji Peng
a9960c6216 fix(vector): fix memory leak for reset stroke dash array. (#5223)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
2024-01-08 20:43:25 +08:00
Xu Xingliang
28eced31a7 fix(vector): use layer stride for thorvg canvas stride
ThorVG supports only ARGB8888, so added check.
Update test to use non-regular stride.

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-03 11:28:56 +01:00
Zhang Ji Peng
8f58b8ec26 fix(vector): change draw rectangle rx, ry to float type. (#5084)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
2023-12-22 22:18:23 +01:00
Neo Xu
34f7e9e012 chore: fix inconsistent comment style (#4889)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-29 11:11:16 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
Viktor Szépe
cc6581ae03 ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Zhang Ji Peng
8cf0bbb558 feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00