Liam Howatt
Liam Howatt
Okay! Would the user need to supply a buffer in any case? I'm failing to see the buffer that needs to be provided.
Oh of course. And it would support all the format specifiers because it uses `lv_snprintf` inside! Could a user do this? ```c const char * str_from_outside = ">
My only thought about using `\` as an escape character is that C string literals interpret `\` too. To input a `\` into a string literal, you have to escape...
Okay!
Thanks for the info! I came to the same conclusion. I believe removing that logic is the best solution. I was scratching my head trying to understand exactly what `corr`...
@FloHomi you can test out @TridentTD's PR #6212 for your use case and provide feedback if you want, before it gets merged.
@kisvegabor, FYI, another instance of CI failing due to a memory error in the RLE decompressor. This time on 32 bit x86. Before it was 64 bit ARM.
Impressive mathematics. If there were any more than the 3 added types of gradient and they also had the same function signatures for `setup`, `get_line`, and `cleanup`, I'd say make...
Try `lv_atan2`. `lv_arc` uses it [here](https://github.com/lvgl/lvgl/blob/master/src/widgets/arc/lv_arc.c#L501). The x and y are the point minus the arc center.
[doc](https://github.com/lvgl/lvgl/blob/ceadda8a468b7d5fa6ba973bd82cf610166278d8/src/misc/lv_math.h#L138) [source](https://github.com/lvgl/lvgl/blob/ceadda8a468b7d5fa6ba973bd82cf610166278d8/src/misc/lv_math.c#L404) It's exactly the same as the fairly well known Arduino `map` function: https://www.arduino.cc/reference/en/language/functions/math/map/