|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "SystemParameters.h" |
|
21 |
|
22 |
|
23 //============================================================================= |
|
24 EXPORT_C CSystemParameters::~CSystemParameters() |
|
25 { |
|
26 |
|
27 } |
|
28 |
|
29 //============================================================================= |
|
30 EXPORT_C TSize & CSystemParameters::SourceSize() |
|
31 { |
|
32 return iSourceSize; |
|
33 } |
|
34 |
|
35 //============================================================================= |
|
36 EXPORT_C const TSize & CSystemParameters::SourceSize() const |
|
37 { |
|
38 return iSourceSize; |
|
39 } |
|
40 |
|
41 //============================================================================= |
|
42 EXPORT_C TRect & CSystemParameters::ViewPortRect() |
|
43 { |
|
44 return iViewPortRect; |
|
45 } |
|
46 |
|
47 //============================================================================= |
|
48 EXPORT_C const TRect & CSystemParameters::ViewPortRect() const |
|
49 { |
|
50 return iViewPortRect; |
|
51 } |
|
52 |
|
53 //============================================================================= |
|
54 EXPORT_C TRect & CSystemParameters::VisibleImageRect() |
|
55 { |
|
56 return iVisibleImageRect; |
|
57 } |
|
58 |
|
59 //============================================================================= |
|
60 EXPORT_C const TRect & CSystemParameters::VisibleImageRect() const |
|
61 { |
|
62 return iVisibleImageRect; |
|
63 } |
|
64 |
|
65 //============================================================================= |
|
66 EXPORT_C TRect & CSystemParameters::VisibleImageRectPrev() |
|
67 { |
|
68 return iVisibleImageRectPrev; |
|
69 } |
|
70 |
|
71 //============================================================================= |
|
72 EXPORT_C const TRect & CSystemParameters::VisibleImageRectPrev() const |
|
73 { |
|
74 return iVisibleImageRectPrev; |
|
75 } |
|
76 |
|
77 //============================================================================= |
|
78 EXPORT_C TReal & CSystemParameters::Scale() |
|
79 { |
|
80 return iScale; |
|
81 } |
|
82 |
|
83 //============================================================================= |
|
84 EXPORT_C const TReal & CSystemParameters::Scale() const |
|
85 { |
|
86 return iScale; |
|
87 } |
|
88 |
|
89 //============================================================================= |
|
90 EXPORT_C TReal & CSystemParameters::RelScale() |
|
91 { |
|
92 return iRelScale; |
|
93 } |
|
94 |
|
95 //============================================================================= |
|
96 EXPORT_C const TReal & CSystemParameters::RelScale() const |
|
97 { |
|
98 return iRelScale; |
|
99 } |
|
100 |
|
101 // End of File |