fontservices/fontstore/inc/OPENFONT.H
changeset 57 01e38b33e72a
parent 51 a7c938434754
equal deleted inserted replaced
51:a7c938434754 57:01e38b33e72a
   326 	TInt DecrementCachedRefCount(TInt aSessionHandle,TShapeHeader* aShapeHeader,TBool aResetAll=EFalse);
   326 	TInt DecrementCachedRefCount(TInt aSessionHandle,TShapeHeader* aShapeHeader,TBool aResetAll=EFalse);
   327 	TBool Rasterize(TInt aSessionHandle,TInt aCode,TOpenFontGlyphData* aGlyphData);
   327 	TBool Rasterize(TInt aSessionHandle,TInt aCode,TOpenFontGlyphData* aGlyphData);
   328 	TBool HasCharacterL(TInt aCode) const;
   328 	TBool HasCharacterL(TInt aCode) const;
   329 	TBool GetCharacterData(TInt aSessionHandle,TInt aCode,const TOpenFontCharMetrics*& aMetrics,const TUint8*& aBitmap) const;
   329 	TBool GetCharacterData(TInt aSessionHandle,TInt aCode,const TOpenFontCharMetrics*& aMetrics,const TUint8*& aBitmap) const;
   330 	void OnFileDeleted();
   330 	void OnFileDeleted();
   331 	COpenFontGlyphCache* GetGlyphCache();
   331 	COpenFontGlyphCache* GetGlyphCache() const;
   332 	inline TInt FontCapitalAscent() const;
   332 	inline TInt FontCapitalAscent() const;
   333 	inline TInt FontMaxAscent() const;
   333 	inline TInt FontMaxAscent() const;
   334 	inline TInt FontStandardDescent() const;
   334 	inline TInt FontStandardDescent() const;
   335 	inline TInt FontMaxDescent() const;
   335 	inline TInt FontMaxDescent() const;
   336 	inline TInt FontLineGap() const;
   336 	inline TInt FontLineGap() const;
   369 		lines of text in the font */
   369 		lines of text in the font */
   370 	TInt iFontLineGap;
   370 	TInt iFontLineGap;
   371 private:
   371 private:
   372 	const COpenFontGlyph* Glyph(TInt aSessionHandle,TInt aCode) const;
   372 	const COpenFontGlyph* Glyph(TInt aSessionHandle,TInt aCode) const;
   373 
   373 
   374 	const COpenFontGlyph* FontCacheGlyph(TInt aCode);
   374 	const COpenFontGlyph* FontCacheGlyph(TInt aCode) const;
   375 	
   375 	
   376 	void SetGlyphCache(COpenFontGlyphCache* aGlyphCache);
   376 	void SetGlyphCache(COpenFontGlyphCache* aGlyphCache);
   377 	
   377 	
   378 	const COpenFontGlyph* SessionCacheGlyph(RHeap* aHeap,TInt aSessionHandle,TInt aCode,
   378 	const COpenFontGlyph* SessionCacheGlyph(RHeap* aHeap,TInt aSessionHandle,TInt aCode,
   379 											COpenFontSessionCache*& aCache,TInt& aIndex,TBool aCreate) const;
   379 											COpenFontSessionCache*& aCache,TInt& aIndex,TBool aCreate) const;