|
||
class CFbsBitGcFont : public CFbsFont;
CBase
-
Base class for all classes to be instantiated on the heap.
CFont
- Abstract font interface.
CFbsFont
- Font managed by the font and bitmap server. CFbsFont objects are used for screen...
CFbsBitGcFont
- (No abstract)
Defined in CFbsBitGcFont
:
Address()const
On return contains iAddress pointer for the CBitmapFont. CFbsBitGcFont()
Construct calls the constructor for the base class CFbsFont and sets default val...Duplicate(TInt)
Calls reset on the object (sets iHandle to zero and carries out related messenge...Reset()
Resets the graphics context to its default settings.iCopy
operator=(const CFbsBitGcFont &)
Defines the meaning of the equals operator when acting on a CFbsBitGcFont object...~CFbsBitGcFont()
Default destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CFbsFont
:
CFbsFont(const CFbsFont &)
GetFaceAttrib(TOpenFontFaceAttrib &)const
Gets the typeface attributes of Open Font System fonts. Notes: Typeface attribut...GetFontMetrics(TOpenFontMetrics &)const
Gets the open font metrics. If the metrics cannot be obtained the function retur...Handle()const
Gets the Font and Bitmap server handle of the font. HasCharacter(TInt)const
Tests whether the font contains a particular character. IsOpenFont()const
Tests whether the font is an Open Font system font. Note: If this function retur...RawTextWidthInPixels(const TDesC &)const
Gets the raw width of the text in the descriptor, in pixels. DEPRECATED: Same as...TextWidthInPixels(const TDesC &)const
Gets the width of the specified descriptor when displayed in this font, in pixel...TextWidthInPixels(const TDesC &,SCharWidth &)const
Gets the text width, move and adjusts of the specified descriptor when displayed...iAddressPointer
iFbs
iHandle
iServerHandle
Inherited from CFont
:
AscentInPixels()const
Gets the font ascent in pixels. Note that this deprecated function is replaced b...BaselineOffsetInPixels()const
Gets the baseline offset in pixels.CharWidthInPixels(TChar)const
Gets the width in pixels in this font of the specified character.CharactersJoin(TInt,TInt)
Determines if aLeftCharacter and aRightCharacter affect each other's contextual ...DescentInPixels()const
Gets the font descent in pixels. Note that this deprecated function is replaced ...DoGetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)const
Gets the character metrics for a character.EAllCharacterData
All character data is available. ECharacterWidthOnly
Width information only is available. EHorizontal
Text is drawn horizontally. ENoCharacterData
No font information available. EVertical
Text is drawn vertically. ExtendedFunction(TUid,TAny *)const
Enables the caller to access a particular API extension function. N.B. Any overl...FontCapitalAscent()const
Gets the ascent of an ANSI capital letter in the font whether or not there are a...FontLineGap()const
Gets the suggested line gap for the font. This is the recommended baseline to ba...FontMaxAscent()const
Gets the max ascent of any pre-composed glyph in the font. This will include acc...FontMaxDescent()const
Gets the max descent of any pre-composed glyph in the font. This will include ac...FontMaxHeight()const
Gets the (positive) maximum height in pixels of the font. This may differ from t...FontSpecInTwips()const
Gets the font specification of this font in twips.FontStandardDescent()const
Gets the descent of an ANSI descending character in the font. Whether or not the...GetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)const
Gets the character metrics for a character.GetCharacterPosition2(TPositionParam &,RShapeInfo &)const
Takes Unicode text and produces the glyph cluster for the first character in tha...HeightInPixels()const
Gets the font height in pixels. Note that this deprecated function is replaced b...MaxCharWidthInPixels()const
Gets the width in pixels of the widest character in this font.MaxNormalCharWidthInPixels()const
Gets the width in pixels of the widest normal character in this font.MeasureText(const TDesC &,const TMeasureTextInput *,TMeasureTextOutput *)const
Text measurement function.TCharacterDataAvailability
Data availability flags.TMeasureTextInput
Input parameter block.TMeasureTextOutput
Output parameter block.TPositionParam
Complicated parameter block used for contextual glyph selection, ligature creati...TTextDirection
Text direction flags.TextCount(const TDesC &,TInt)const
Gets how much of the specified descriptor can be displayed in this font without ...TextCount(const TDesC &,TInt,TInt &)const
Gets how much of the specified descriptor can be displayed in this font without ...TypeUid()const
Gets run-time identity of the actual font type. This enables safe casting to a d...WidthZeroInPixels()const
Gets the width of the zero character of this font in pixels.IMPORT_C CFbsBitGcFont();
Construct calls the constructor for the base class CFbsFont
and sets default value of iCopy as EFalse.
IMPORT_C CBitmapFont* Address() const;
On return contains iAddress pointer for the CBitmapFont
.
|
IMPORT_C TInt Duplicate(TInt aHandle);
Calls reset on the object (sets iHandle to zero and carries out related messenger housekeeping and then duplicates it using the base class method.
|
|
CFbsFont::Duplicate(TInt)
Duplicates a font. This function does not create a copy of the font. It just ass...IMPORT_C void Reset();
Resets the graphics context to its default settings.
The function provides a concrete implementation of the pure virtual function CGraphicsContext::Reset()
. The function behaviour is the same as documented in that class.
IMPORT_C void operator=(const CFbsBitGcFont &aFont);
Defines the meaning of the equals operator when acting on a CFbsBitGcFont object. i.e. allows these objects to be set as being equal to one another.
|
protected: TBool iCopy;