First public contribution.
1 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef FBSGLYPHMETRICSARRAY_H
17 #define FBSGLYPHMETRICSARRAY_H
27 NONSHARABLE_CLASS(RFbsGlyphMetricsArray)
30 IMPORT_C RFbsGlyphMetricsArray();
31 IMPORT_C TInt Get(CFbsFont& aFont, const TUint* aGlyphCodes, TInt aCount);
32 IMPORT_C void Close();
33 IMPORT_C TInt Count() const;
34 IMPORT_C const TOpenFontCharMetrics& operator[](TInt aIndex) const;
37 RFbsGlyphMetricsArray(const RFbsGlyphMetricsArray&);
38 const RFbsGlyphMetricsArray& operator =(const RFbsGlyphMetricsArray&);
39 TInt SendRecvGlyphMetrics(CFbsFont& aFont, TUint* aArrayIndices, TInt aArrayIndicesCount, RArray<TOpenFontCharMetrics>* aMetrics) const;
42 RArray<TOpenFontCharMetrics> iMetrics;
43 const TUint* iGlyphCodes;
47 #endif /* FBSGLYPHMETRICSARRAY_H */