Back to index

lightning-sunbird  0.9+nobinonly
Classes | Private Types | Private Member Functions | Private Attributes
gfxTextRun Class Reference

#include <gfxTextRun.h>

List of all members.


struct  Dimensions

Private Types

enum  { ClusterStart = 0x1 }

Private Member Functions

 gfxTextRun (const char *ASCII, int length, nsIFontMetrics *font, nsIAtom *language)
 gfxTextRun (const PRUnichar *unicode, int length, nsIFontMetrics *font, nsIAtom *language)
void GetCharacterFlags (int pos, int len, CharFlags *flags)
Dimensions MeasureText (int pos, int len)
int GetCharsFit (int pos, int len, gfxFloat width, int breakflags)
int GetPositionInString (gfxPoint &pt)

Private Attributes

enum gfxTextRun:: { ... }  CharFlags

Detailed Description

Definition at line 47 of file gfxTextRun.h.

Class Documentation

struct gfxTextRun::Dimensions

Definition at line 56 of file gfxTextRun.h.

Class Members
gfxFloat ascent
gfxFloat descent
gfxFloat leftBearing
gfxFloat rightBearing
gfxFloat width

Member Enumeration Documentation

anonymous enum [private]

Definition at line 52 of file gfxTextRun.h.

Constructor & Destructor Documentation

gfxTextRun::gfxTextRun ( const char *  ASCII,
int  length,
nsIFontMetrics font,
nsIAtom language 
) [private]
gfxTextRun::gfxTextRun ( const PRUnichar unicode,
int  length,
nsIFontMetrics font,
nsIAtom language 
) [private]

Member Function Documentation

void gfxTextRun::GetCharacterFlags ( int  pos,
int  len,
CharFlags flags 
) [private]
int gfxTextRun::GetCharsFit ( int  pos,
int  len,
gfxFloat  width,
int  breakflags 
) [private]
Dimensions gfxTextRun::MeasureText ( int  pos,
int  len 
) [private]

Member Data Documentation

enum { ... } gfxTextRun::CharFlags [private]

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