Function cairo::debug_reset_static_data

source ·
pub unsafe fn debug_reset_static_data()
Expand description

Resets all static data within cairo to its original state (i.e. identical to the state at program invocation). For example, all caches within cairo will be flushed empty.

§Safety

It is only safe to call this function when there are no active cairo objects remaining (all cairo objects have been dropped).

This function is thread safe.