Blurred object feature request

Will in the future be able to blur an object from a style for example lv_style_set_blur_hor/ver ?

1 Like

As blurring is a trending design technique today I’m thinking a lot about it but still couldn’t find a good way the calculate blur runtime.

How like? Couldn’t we just use the millis() function?

Sorry, I meant calculate blur in run time (instead of pre-calculating as an image).

We can use the time.h library, right?

clock_t begin = clock();

/* here, do your time-consuming job */

clock_t end = clock();
double time_spent = (double)(end - begin) / CLOCKS_PER_SEC;

I think you may have misunderstood. The complexity is in the algorithm itself, not measuring the time it takes to execute.