Public Member Functions
|cairo_status_t *||getStatusStruct ()|
|this (cairo_status_t *cairo_status)|
|Sets our main struct and passes it to the parent class. |
Static Public Member Functions
|static char||oString (cairo_status_t status)|
|Provides a human-readable description of a cairo_status_t. |
|static void||cairoDebugResetStaticData ()|
|Resets all static data within cairo to its original state, (ie. |
Protected Member Functions
|void *||getStruct ()|
|the main Gtk struct as a void* |
|the main Gtk struct |
Sets our main struct and passes it to the parent class.
|static void cairoLib.Status.Status.cairoDebugResetStaticData||(||)||
Resets all static data within cairo to its original state, (ie.
identical to the state at the time of program invocation). For example, all caches within cairo will be flushed empty. This function is intended to be useful when using memory-checking tools such as valgrind. When valgrind's memcheck analyzes a cairo-using program without a call to cairo_debug_reset_static_data, it will report all data reachable via cairo's static objects as "still reachable". Calling cairo_debug_reset_static_data just prior to program termination will make it easier to get squeaky clean reports from valgrind. WARNING: It is only safe to call this function when there are no active cairo objects remaining, (ie. the appropriate destroy functions have been called as necessary). If there are active cairo objects, this call is likely to cause a crash, (eg. an assertion failure due to a hash table being destroyed when non-empty).
the main Gtk struct as a void*
Provides a human-readable description of a cairo_status_t.
status: a cairo status Returns: a string representation of the status