Back to index

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

#include <nsXFont.h>

Inheritance diagram for nsXFont:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~nsXFont ()
virtual void DrawText8 (GdkDrawable *Drawable, GdkGC *GC, PRInt32, PRInt32, const char *, PRUint32)=0
virtual void DrawText16 (GdkDrawable *Drawable, GdkGC *GC, PRInt32, PRInt32, const XChar2b *, PRUint32)=0
virtual PRBool GetXFontProperty (Atom, unsigned long *)=0
virtual XFontStruct * GetXFontStruct ()=0
PRBool IsSingleByte ()
virtual PRBool LoadFont ()=0
virtual void TextExtents8 (const char *, PRUint32, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *)=0
virtual void TextExtents16 (const XChar2b *, PRUint32, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *, PRInt32 *)=0
virtual PRInt32 TextWidth8 (const char *, PRUint32)=0
virtual PRInt32 TextWidth16 (const XChar2b *, PRUint32)=0
virtual void UnloadFont ()=0

Protected Attributes

PRBool mIsSingleByte

Detailed Description

Definition at line 43 of file nsXFont.h.


Constructor & Destructor Documentation

virtual nsXFont::~nsXFont ( ) [inline, virtual]

Definition at line 45 of file nsXFont.h.

{ };

Member Function Documentation

virtual void nsXFont::DrawText16 ( GdkDrawable *  Drawable,
GdkGC *  GC,
PRInt32  ,
PRInt32  ,
const XChar2b *  ,
PRUint32   
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual void nsXFont::DrawText8 ( GdkDrawable *  Drawable,
GdkGC *  GC,
PRInt32  ,
PRInt32  ,
const char *  ,
PRUint32   
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual PRBool nsXFont::GetXFontProperty ( Atom  ,
unsigned long  
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual XFontStruct* nsXFont::GetXFontStruct ( ) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

Definition at line 52 of file nsXFont.h.

{ return mIsSingleByte; };

Here is the caller graph for this function:

virtual PRBool nsXFont::LoadFont ( ) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual void nsXFont::TextExtents16 ( const XChar2b *  ,
PRUint32  ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32  
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

virtual void nsXFont::TextExtents8 ( const char *  ,
PRUint32  ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32 ,
PRInt32  
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

virtual PRInt32 nsXFont::TextWidth16 ( const XChar2b *  ,
PRUint32   
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual PRInt32 nsXFont::TextWidth8 ( const char *  ,
PRUint32   
) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:

virtual void nsXFont::UnloadFont ( ) [pure virtual]

Implemented in nsXFontAAScaledBitmap, and nsXFontNormal.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 63 of file nsXFont.h.


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