cairoLib.Status.Status Class Reference

List of all members.

Detailed Description

Description.


Public Member Functions

cairo_status_tgetStatusStruct ()
 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*

Protected Attributes

cairo_status_tcairo_status
 the main Gtk struct


Constructor & Destructor Documentation

cairoLib.Status.Status.this ( cairo_status_t cairo_status  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

static void cairoLib.Status.Status.cairoDebugResetStaticData (  )  [static]

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).

cairo_status_t* cairoLib.Status.Status.getStatusStruct (  ) 

void* cairoLib.Status.Status.getStruct (  )  [protected]

the main Gtk struct as a void*

static char [] cairoLib.Status.Status.oString ( cairo_status_t  status  )  [static]

Provides a human-readable description of a cairo_status_t.

status: a cairo status Returns: a string representation of the status


Member Data Documentation

cairo_status_t* cairoLib.Status.Status.cairo_status [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo