equal
deleted
inserted
replaced
109 void FixUp(TInt aFileAddress); |
109 void FixUp(TInt aFileAddress); |
110 void Delete(); |
110 void Delete(); |
111 const TBitmapFontCharacterMetrics* Metric(TInt aIndex) const; |
111 const TBitmapFontCharacterMetrics* Metric(TInt aIndex) const; |
112 TInt NumberOfMetrics() const; |
112 TInt NumberOfMetrics() const; |
113 private: |
113 private: |
|
114 TBitmapFontCharacterMetrics* MetricsFromOffset(TInt aIndex) const; |
|
115 private: |
114 RHeap* iHeap; |
116 RHeap* iHeap; |
115 TStreamId iMetricsStartId; |
117 TStreamId iMetricsStartId; |
116 TInt iCharacterMetricsStartPtr; // Sometimes this address is on the metrics heap and sometimes in a ROM file |
118 // Sometimes this address is on the metrics heap and sometimes in a ROM file |
|
119 // If the address is on the heap, then this is actually an offset from |
|
120 // the address of this class. |
|
121 TInt iCharacterMetricsStartPtr; |
117 TInt iNumberOfMetrics; |
122 TInt iNumberOfMetrics; |
|
123 TBool iMetricsOnHeap; |
118 }; |
124 }; |
119 |
125 |
120 NONSHARABLE_CLASS(CFontBitmap) : public CBase |
126 NONSHARABLE_CLASS(CFontBitmap) : public CBase |
121 /** |
127 /** |
122 @internalComponent |
128 @internalComponent |