|
1 /* |
|
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: SVG Implementation header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __INC_CSVGPRESERVEASPECTRATIOIMPL__ |
|
20 #define __INC_CSVGPRESERVEASPECTRATIOIMPL__ |
|
21 |
|
22 #include "SVGPreserveAspectRatio.h" |
|
23 |
|
24 |
|
25 /** |
|
26 * Class description goes here. |
|
27 * |
|
28 * @lib SVGEngine.lib |
|
29 * @since 1.0 |
|
30 */ |
|
31 class CSvgPreserveAspectRatioImpl : public CBase, public MSvgPreserveAspectRatio |
|
32 { |
|
33 public: |
|
34 |
|
35 // Constructor/deconstructor |
|
36 |
|
37 |
|
38 /** |
|
39 * Need method description |
|
40 * |
|
41 * @since 1.0 |
|
42 * @param |
|
43 * @return |
|
44 */ |
|
45 static CSvgPreserveAspectRatioImpl* NewL(); |
|
46 |
|
47 |
|
48 /** |
|
49 * Need method description |
|
50 * |
|
51 * @since 1.0 |
|
52 * @param |
|
53 * @return |
|
54 */ |
|
55 static CSvgPreserveAspectRatioImpl* NewLC(); |
|
56 |
|
57 |
|
58 /** |
|
59 * Need method description |
|
60 * |
|
61 * @since 1.0 |
|
62 * @param |
|
63 * @return |
|
64 */ |
|
65 virtual ~CSvgPreserveAspectRatioImpl(); |
|
66 |
|
67 // From SVG DOM |
|
68 |
|
69 |
|
70 /** |
|
71 * Need method description |
|
72 * |
|
73 * @since 1.0 |
|
74 * @param |
|
75 * @return |
|
76 */ |
|
77 TSvgPreserveAspectAlignType GetAlign(); |
|
78 |
|
79 |
|
80 /** |
|
81 * Need method description |
|
82 * |
|
83 * @since 1.0 |
|
84 * @param |
|
85 * @return |
|
86 */ |
|
87 TSvgMeetOrSliceType GetMeetOrSlice(); |
|
88 |
|
89 // Class-specified |
|
90 |
|
91 |
|
92 /** |
|
93 * Need method description |
|
94 * |
|
95 * @since 1.0 |
|
96 * @param |
|
97 * @return |
|
98 */ |
|
99 void SetAlign( TSvgPreserveAspectAlignType aType ); |
|
100 |
|
101 |
|
102 /** |
|
103 * Need method description |
|
104 * |
|
105 * @since 1.0 |
|
106 * @param |
|
107 * @return |
|
108 */ |
|
109 void SetMeetOrSlice( TSvgMeetOrSliceType aType ); |
|
110 |
|
111 |
|
112 /** |
|
113 * Need method description |
|
114 * |
|
115 * @since 1.0 |
|
116 * @param |
|
117 * @return |
|
118 */ |
|
119 CSvgPreserveAspectRatioImpl* CloneL(); |
|
120 |
|
121 private: |
|
122 |
|
123 TSvgMeetOrSliceType iMeetOrSlice; |
|
124 |
|
125 TSvgPreserveAspectAlignType iAlign; |
|
126 |
|
127 |
|
128 /** |
|
129 * Need method description |
|
130 * |
|
131 * @since 1.0 |
|
132 * @param |
|
133 * @return |
|
134 */ |
|
135 void ConstructL(); |
|
136 |
|
137 |
|
138 /** |
|
139 * Need method description |
|
140 * |
|
141 * @since 1.0 |
|
142 * @param |
|
143 * @return |
|
144 */ |
|
145 CSvgPreserveAspectRatioImpl(); |
|
146 }; |
|
147 |
|
148 #endif /* #ifndef __INC_CSVGPRESERVEASPECTRATIOIMPL__ */ |