|
|
|
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()constOn 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.iCopyoperator=(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 &)constGets the typeface attributes of Open Font System fonts. Notes: Typeface attribut...GetFontMetrics(TOpenFontMetrics &)constGets the open font metrics. If the metrics cannot be obtained the function retur...Handle()constGets the Font and Bitmap server handle of the font. HasCharacter(TInt)constTests whether the font contains a particular character. IsOpenFont()constTests whether the font is an Open Font system font. Note: If this function retur...RawTextWidthInPixels(const TDesC &)constGets the raw width of the text in the descriptor, in pixels. DEPRECATED: Same as...TextWidthInPixels(const TDesC &)constGets the width of the specified descriptor when displayed in this font, in pixel...TextWidthInPixels(const TDesC &,SCharWidth &)constGets the text width, move and adjusts of the specified descriptor when displayed...iAddressPointeriFbsiHandleiServerHandleInherited from CFont:
AscentInPixels()constGets the font ascent in pixels. Note that this deprecated function is replaced b...BaselineOffsetInPixels()constGets the baseline offset in pixels.CharWidthInPixels(TChar)constGets 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()constGets the font descent in pixels. Note that this deprecated function is replaced ...DoGetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)constGets the character metrics for a character.EAllCharacterDataAll character data is available. ECharacterWidthOnlyWidth information only is available. EHorizontalText is drawn horizontally. ENoCharacterDataNo font information available. EVerticalText is drawn vertically. ExtendedFunction(TUid,TAny *)constEnables the caller to access a particular API extension function. N.B. Any overl...FontCapitalAscent()constGets the ascent of an ANSI capital letter in the font whether or not there are a...FontLineGap()constGets the suggested line gap for the font. This is the recommended baseline to ba...FontMaxAscent()constGets the max ascent of any pre-composed glyph in the font. This will include acc...FontMaxDescent()constGets the max descent of any pre-composed glyph in the font. This will include ac...FontMaxHeight()constGets the (positive) maximum height in pixels of the font. This may differ from t...FontSpecInTwips()constGets the font specification of this font in twips.FontStandardDescent()constGets the descent of an ANSI descending character in the font. Whether or not the...GetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)constGets the character metrics for a character.GetCharacterPosition2(TPositionParam &,RShapeInfo &)constTakes Unicode text and produces the glyph cluster for the first character in tha...HeightInPixels()constGets the font height in pixels. Note that this deprecated function is replaced b...MaxCharWidthInPixels()constGets the width in pixels of the widest character in this font.MaxNormalCharWidthInPixels()constGets the width in pixels of the widest normal character in this font.MeasureText(const TDesC &,const TMeasureTextInput *,TMeasureTextOutput *)constText measurement function.TCharacterDataAvailabilityData availability flags.TMeasureTextInputInput parameter block.TMeasureTextOutputOutput parameter block.TPositionParamComplicated parameter block used for contextual glyph selection, ligature creati...TTextDirectionText direction flags.TextCount(const TDesC &,TInt)constGets how much of the specified descriptor can be displayed in this font without ...TextCount(const TDesC &,TInt,TInt &)constGets how much of the specified descriptor can be displayed in this font without ...TypeUid()constGets run-time identity of the actual font type. This enables safe casting to a d...WidthZeroInPixels()constGets 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;