Skip to main content

lv_image_cache_resize

Function lv_image_cache_resize 

Source
pub unsafe extern "C" fn lv_image_cache_resize(
    new_size: u32,
    evict_now: bool,
)
Expand description

Resize image cache. If set to 0, the cache will be disabled. @param new_size new size of the cache in bytes. @param evict_now true: evict the images should be removed by the eviction policy, false: wait for the next cache cleanup.