Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsX11FontNormal Class Reference

#include <nsFontMetricsXlib.h>

List of all members.

Public Member Functions

 nsX11FontNormal (Display *, XFontStruct *)
 ~nsX11FontNormal ()
void DrawText8 (Drawable Drawable, GC GC, PRInt32, PRInt32, const char *, PRUint32)
void DrawText16 (Drawable Drawable, GC GC, PRInt32, PRInt32, const XChar2b *, PRUint32)
PRBool GetXFontProperty (Atom, unsigned long *)
XFontStruct * GetXFontStruct ()
PRBool LoadFont ()
void TextExtents8 (const char *, PRUint32, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *)
void TextExtents16 (const XChar2b *, PRUint32, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *)
PRInt32 TextWidth8 (const char *, PRUint32)
PRInt32 TextWidth16 (const XChar2b *, PRUint32)
void UnloadFont ()
PRBool IsSingleByte ()

Protected Attributes

DisplaymDisplay
XFontStruct * mXFont
PRBool mIsSingleByte

Detailed Description

Definition at line 70 of file nsFontMetricsXlib.h.


Constructor & Destructor Documentation

nsX11FontNormal::nsX11FontNormal ( Display ,
XFontStruct *   
)

Member Function Documentation

void nsX11FontNormal::DrawText16 ( Drawable  Drawable,
GC  GC,
PRInt32  ,
PRInt32  ,
const XChar2b *  ,
PRUint32   
)
void nsX11FontNormal::DrawText8 ( Drawable  Drawable,
GC  GC,
PRInt32  ,
PRInt32  ,
const char *  ,
PRUint32   
)
PRBool nsX11FontNormal::GetXFontProperty ( Atom  ,
unsigned long  
)

Definition at line 89 of file nsFontMetricsXlib.h.

{ return mIsSingleByte; };
void nsX11FontNormal::TextExtents16 ( const XChar2b *  ,
PRUint32  ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32  
)
void nsX11FontNormal::TextExtents8 ( const char *  ,
PRUint32  ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32  
)

Member Data Documentation

Definition at line 89 of file nsFontMetricsXlib.h.

Definition at line 94 of file nsFontMetricsXlib.h.

XFontStruct* nsX11FontNormal::mXFont [protected]

Definition at line 93 of file nsFontMetricsXlib.h.


The documentation for this class was generated from the following file: