Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsDeviceContextPh.cpp File Reference
#include <math.h>
#include "nspr.h"
#include "nsIPref.h"
#include "nsIServiceManager.h"
#include "nsCRT.h"
#include "nsReadableUtils.h"
#include "nsDeviceContextPh.h"
#include "nsRenderingContextPh.h"
#include "nsDeviceContextSpecPh.h"
#include "nsHashtable.h"
#include "nsPhGfxLog.h"

Go to the source code of this file.

Defines

#define NS_TO_PH_RGB(ns)   (ns & 0xff) << 16 | (ns & 0xff00) | ((ns >> 16) & 0xff)

Functions

static NS_DEFINE_CID (kPrefCID, NS_PREF_CID)

Variables

static nsHashtable * mFontLoadCache = nsnull
static char * FaceMessageFont
static char * FaceMenuFont
static char * FaceBalloonFont
static char * FaceGeneralFont
static int SizeMessageFont
static int SizeMenuFont
static int SizeBalloonFont
static int SizeGeneralFont
static short StyleMessageFont
static short StyleMenuFont
static short StyleBalloonFont
static short StyleGeneralFont
static short WeightMessageFont
static short WeightMenuFont
static short WeightBalloonFont
static short WeightGeneralFont
static int InitSystemFonts

Define Documentation

#define NS_TO_PH_RGB (   ns)    (ns & 0xff) << 16 | (ns & 0xff00) | ((ns >> 16) & 0xff)

Definition at line 55 of file nsDeviceContextPh.cpp.


Function Documentation

static NS_DEFINE_CID ( kPrefCID  ,
NS_PREF_CID   
) [static]

Variable Documentation

char * FaceBalloonFont [static]

Definition at line 252 of file nsDeviceContextPh.cpp.

char * FaceGeneralFont [static]

Definition at line 252 of file nsDeviceContextPh.cpp.

char * FaceMenuFont [static]

Definition at line 252 of file nsDeviceContextPh.cpp.

char* FaceMessageFont [static]

Definition at line 252 of file nsDeviceContextPh.cpp.

int InitSystemFonts [static]

Definition at line 256 of file nsDeviceContextPh.cpp.

nsHashtable* mFontLoadCache = nsnull [static]

Definition at line 59 of file nsDeviceContextPh.cpp.

int SizeBalloonFont [static]

Definition at line 253 of file nsDeviceContextPh.cpp.

int SizeGeneralFont [static]

Definition at line 253 of file nsDeviceContextPh.cpp.

int SizeMenuFont [static]

Definition at line 253 of file nsDeviceContextPh.cpp.

int SizeMessageFont [static]

Definition at line 253 of file nsDeviceContextPh.cpp.

short StyleBalloonFont [static]

Definition at line 254 of file nsDeviceContextPh.cpp.

short StyleGeneralFont [static]

Definition at line 254 of file nsDeviceContextPh.cpp.

short StyleMenuFont [static]

Definition at line 254 of file nsDeviceContextPh.cpp.

short StyleMessageFont [static]

Definition at line 254 of file nsDeviceContextPh.cpp.

short WeightBalloonFont [static]

Definition at line 255 of file nsDeviceContextPh.cpp.

short WeightGeneralFont [static]

Definition at line 255 of file nsDeviceContextPh.cpp.

short WeightMenuFont [static]

Definition at line 255 of file nsDeviceContextPh.cpp.

short WeightMessageFont [static]

Definition at line 255 of file nsDeviceContextPh.cpp.