Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsDeviceContextWin.cpp File Reference
#include "nsDeviceContextWin.h"
#include "nsRenderingContextWin.h"
#include "nsDeviceContextSpecWin.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "nsIScreenManager.h"
#include "nsIScreen.h"
#include "nsGfxCIID.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "prlog.h"

Go to the source code of this file.

Defines

#define DOC_TITLE_LENGTH   64
#define PR_PL(_p1)
#define DISPLAY_LAST_ERROR

Functions

static NS_DEFINE_CID (kRCCID, NS_RENDERING_CONTEXT_CID)
int CALLBACK fontcallback (ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm, int FontType, LPARAM lParam)
BOOL CALLBACK abortproc (HDC hdc, int iError)

Define Documentation

Definition at line 745 of file nsDeviceContextWin.cpp.

Definition at line 54 of file nsDeviceContextWin.cpp.

#define PR_PL (   _p1)

Definition at line 61 of file nsDeviceContextWin.cpp.


Function Documentation

BOOL CALLBACK abortproc ( HDC  hdc,
int  iError 
)

Definition at line 686 of file nsDeviceContextWin.cpp.

{
  return TRUE;
} 
int CALLBACK fontcallback ( ENUMLOGFONT FAR lpelf,
NEWTEXTMETRIC FAR lpntm,
int  FontType,
LPARAM  lParam 
)

Definition at line 562 of file nsDeviceContextWin.cpp.

{
  if (NULL != lpelf)
    *((PRBool *)lParam) = PR_TRUE;

  return 0;
}

Here is the caller graph for this function:

static NS_DEFINE_CID ( kRCCID  ,
NS_RENDERING_CONTEXT_CID   
) [static]