equal
deleted
inserted
replaced
|
1 // Copyright (c) 1998-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Header containing the structs TTwoTInt and TDrawTextInContextInternal which are included into gdi.h |
|
15 // |
|
16 |
|
17 #ifndef GDISTRUCTS_H |
|
18 #define GDISTRUCTS_H |
|
19 |
|
20 /* |
|
21 Structure used as a package for GetUnderlineMetrics to pass to the relevant |
|
22 section of APIExtension. |
|
23 @internalTechnology |
|
24 */ |
|
25 struct TTwoTInt |
|
26 { |
|
27 TInt iTop; |
|
28 TInt iBottom; |
|
29 }; |
|
30 |
|
31 /* |
|
32 Structure used as a package for DrawText to pass to relevant section of |
|
33 APIExtension |
|
34 @internalTechnology |
|
35 */ |
|
36 struct TDrawTextInContextInternal |
|
37 { |
|
38 CGraphicsContext::TTextParameters iParam; |
|
39 TPtrC iText; |
|
40 TPoint iPosition; |
|
41 TRect iBox; |
|
42 TInt iBaselineOffset; |
|
43 CGraphicsContext::TTextAlign iAlign; |
|
44 TInt iMargin; |
|
45 TInt iTextWidth; |
|
46 TBool iUp; // For vertical drawing |
|
47 }; |
|
48 |
|
49 /* |
|
50 Structure used as a package for TextWidthInPixels to pass to the relevant |
|
51 section of APIExtension |
|
52 @internalTechnology |
|
53 */ |
|
54 struct TTextWidthInternal |
|
55 { |
|
56 CFont::TMeasureTextInput iParam; |
|
57 TPtrC iText; |
|
58 }; |
|
59 |
|
60 #endif /* GDISTRUCTS_H */ |