Back to index

lightning-sunbird  0.9+nobinonly
Functions
cairo-os2.h File Reference
#include <cairo.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CAIRO_BEGIN_DECLS void cairo_os2_initialize (void)
void cairo_os2_uninitialize (void)

Function Documentation

CAIRO_BEGIN_DECLS void cairo_os2_initialize ( void  )

Definition at line 75 of file cairo-os2-surface.c.

{
  /* This may initialize some stuffs */

  cairo_os2_initialization_count++;
  if (cairo_os2_initialization_count > 1) return;

  DisableFPUException ();

  /* Initialize FontConfig */
  FcInit ();
}

Here is the call graph for this function:

Definition at line 88 of file cairo-os2-surface.c.

{
  /* This has to uninitialize some stuffs */

  if (cairo_os2_initialization_count <= 0) return;
  cairo_os2_initialization_count--;
  if (cairo_os2_initialization_count > 0) return;

  DisableFPUException ();

  /* Free allocated memories! */
  /* (Check cairo_debug_reset_static_date () for an example of this!) */
  _cairo_font_reset_static_data ();
#ifdef CAIRO_HAS_FT_FONT
  _cairo_ft_font_reset_static_data ();
#endif

  /* Uninitialize FontConfig */
  FcFini ();
}

Here is the call graph for this function: