First public contribution.
1 // Copyright (c) 2005-2009 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.
25 /** Holds shaping information for text that requires it (for example Indic
38 IMPORT_C RShapeInfo();
39 TInt Open(const CFont* aFont, const TDesC16& aText,
40 TInt aStartOfTextToShape, TInt aEndOfTextToShape,
41 TInt aScriptCode, TInt aLanguageCode);
42 IMPORT_C void Close();
43 TInt GlyphCount() const;
44 const TInt32* Glyphs() const;
45 const TPoint16* GlyphPositions() const;
46 TPoint16 Advance() const;
47 const TInt16* Indices() const;
48 TInt EndOfShapedText();
49 IMPORT_C TBool IsOpen();
50 void SetContext(TAny* aContextualProcessFunc);
54 const TShapeHeader* iHeader;
55 TInt iEndOfShapedText;
56 TAny* iContextualProcessFunc;