fbs/fontandbitmapserver/inc/FBS.H
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 116 171fae344dd4
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
   127 	HBufC8* iDecompressionBuffer;
   127 	HBufC8* iDecompressionBuffer;
   128 	HBufC8* iScanLineBuffer;	
   128 	HBufC8* iScanLineBuffer;	
   129 	TUint32* iSpare;
   129 	TUint32* iSpare;
   130 	};
   130 	};
   131 
   131 
       
   132 /** forward declaration of some private classes. */
       
   133 class TGetFontTableParam;
       
   134 class TReleaseGlyphOutlineParam;
       
   135 class TGetGlyphOutlineParam;
       
   136 
       
   137 
   132 /** 
   138 /** 
   133 Font managed by the font and bitmap server.
   139 Font managed by the font and bitmap server.
   134 CFbsFont objects are used for screen and off-screen bitmap fonts. They are 
   140 CFbsFont objects are used for screen and off-screen bitmap fonts. They are 
   135 usually obtained by calls to the CBitmapDevice::GetNearestFontInPixels() and 
   141 usually obtained by calls to the CBitmapDevice::GetNearestFontInPixels() and 
   136 MGraphicsDeviceMap::GetNearestFontInTwips() functions.
   142 MGraphicsDeviceMap::GetNearestFontInTwips() functions.
   191 	
   197 	
   192 private:
   198 private:
   193 	TInt DoFontGetShaping(TFontShapeFunctionParameters* aParam) const;
   199 	TInt DoFontGetShaping(TFontShapeFunctionParameters* aParam) const;
   194 	TInt DoFontDeleteShaping(TFontShapeDeleteFunctionParameters* aParam) const;
   200 	TInt DoFontDeleteShaping(TFontShapeDeleteFunctionParameters* aParam) const;
   195 	TInt DoTextWidthInPixels(const TDesC& aText,const TMeasureTextInput* aParam) const;
   201 	TInt DoTextWidthInPixels(const TDesC& aText,const TMeasureTextInput* aParam) const;
       
   202 	TInt DoGetFontTable(TGetFontTableParam * aParam) const;
       
   203 	TInt DoGetGlyphOutline(TGetGlyphOutlineParam *aParam) const;
       
   204 	TInt DoReleaseGlyphOutline(TReleaseGlyphOutlineParam *aParam) const;
       
   205 	TInt DoReleaseFontTable(TUint32 *aParam) const;
   196 
   206 
   197 protected:
   207 protected:
   198 	RFbsSession* iFbs;
   208 	RFbsSession* iFbs;
   199 	CBitmapFont* iAddressPointer;
   209 	CBitmapFont* iAddressPointer;
   200 	TInt iHandle;
   210 	TInt iHandle;