Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsCairoDeviceContext.cpp File Reference
#include "nsIServiceManager.h"
#include "nsCairoDeviceContext.h"
#include "nsCairoRenderingContext.h"
#include "nsCairoSurfaceManager.h"
#include "nsCOMPtr.h"
#include "nsIView.h"

Go to the source code of this file.

Classes

class  nsSystemFontsGTK
 A singleton instance of nsSystemFontsGTK is created by the first device context and destroyed by the module destructor. More...

Defines

#define DEFAULT_TWIP_FONT_SIZE   240

Functions

int helpful_error_handler (Display *dpy, XErrorEvent *error)
PRInt32 GetXftDPI (void)

Variables

static nsSystemFontsGTKgSystemFonts = nsnull

Define Documentation

Definition at line 504 of file nsCairoDeviceContext.cpp.


Function Documentation

int helpful_error_handler ( Display dpy,
XErrorEvent *  error 
)

Definition at line 121 of file nsCairoDeviceContext.cpp.

{
    fprintf (stderr, "++++++++ X Error! serial %d code: %d request: %d minor: %d\n",
             error->serial, error->error_code, error->request_code, error->minor_code);
    return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 97 of file nsCairoDeviceContext.cpp.