|
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_CSVGPRESENTATIONATTRSIMPL_ |
|
20 #define _INC_CSVGPRESENTATIONATTRSIMPL_ |
|
21 |
|
22 #include "GfxColor.h" |
|
23 |
|
24 |
|
25 /** |
|
26 * Class description |
|
27 * |
|
28 *** |
|
29 *** THIS CLASS IS NO LONGER IN USE |
|
30 *** |
|
31 */ |
|
32 class CSvgPresentationAttrsImpl : public CBase |
|
33 { |
|
34 private: |
|
35 // 'fill' |
|
36 TGfxColor aFill; |
|
37 |
|
38 // 'stroke' |
|
39 TGfxColor aStroke; |
|
40 |
|
41 // 'stroke-width |
|
42 TFixPt aStrokeWidth; |
|
43 |
|
44 // 'visibility' |
|
45 TInt8 aVisibility; |
|
46 |
|
47 // 'color' |
|
48 TGfxColor aColor; |
|
49 |
|
50 // 'font-family' |
|
51 // TText aFontFamily; |
|
52 |
|
53 // 'font-size' |
|
54 TInt8 aFontSize; |
|
55 |
|
56 // 'font-style' |
|
57 //TText aFontStyle; |
|
58 |
|
59 // 'font-weight' |
|
60 TInt8 aFontWeight; |
|
61 |
|
62 // 'stroke-dasharray' |
|
63 TInt8* aStrokeDasharray; |
|
64 |
|
65 // 'display' |
|
66 TInt16 aDisplay; |
|
67 |
|
68 // 'fill-rule' |
|
69 TInt8 aFillRule; |
|
70 |
|
71 // 'stroke-linecap' |
|
72 TInt8 aStrokeLinecap; |
|
73 |
|
74 // 'stroke-linejoin' |
|
75 TInt8 aStrokeLinejoin; |
|
76 |
|
77 |
|
78 /** |
|
79 * Need method description |
|
80 * |
|
81 * @since 1.0 |
|
82 * @param |
|
83 * @return |
|
84 */ |
|
85 void ConstructL(); |
|
86 |
|
87 |
|
88 /** |
|
89 * Need method description |
|
90 * |
|
91 * @since 1.0 |
|
92 * @param |
|
93 * @return |
|
94 */ |
|
95 CSvgPresentationAttrsImpl(); |
|
96 |
|
97 public: |
|
98 |
|
99 /** |
|
100 * Need method description |
|
101 * |
|
102 * @since 1.0 |
|
103 * @param |
|
104 * @return |
|
105 */ |
|
106 static CSvgPresentationAttrsImpl* NewLC(); |
|
107 |
|
108 |
|
109 /** |
|
110 * Need method description |
|
111 * |
|
112 * @since 1.0 |
|
113 * @param |
|
114 * @return |
|
115 */ |
|
116 static CSvgPresentationAttrsImpl* NewL(); |
|
117 |
|
118 |
|
119 /** |
|
120 * Need method description |
|
121 * |
|
122 * @since 1.0 |
|
123 * @param |
|
124 * @return |
|
125 */ |
|
126 TGfxColor Fill(); |
|
127 |
|
128 |
|
129 /** |
|
130 * Need method description |
|
131 * |
|
132 * @since 1.0 |
|
133 * @param |
|
134 * @return |
|
135 */ |
|
136 void SetFill( TGfxColor ); |
|
137 |
|
138 |
|
139 /** |
|
140 * Need method description |
|
141 * |
|
142 * @since 1.0 |
|
143 * @param |
|
144 * @return |
|
145 */ |
|
146 TGfxColor Stroke(); |
|
147 |
|
148 |
|
149 /** |
|
150 * Need method description |
|
151 * |
|
152 * @since 1.0 |
|
153 * @param |
|
154 * @return |
|
155 */ |
|
156 void SetStroke( TGfxColor ); |
|
157 |
|
158 |
|
159 /** |
|
160 * Need method description |
|
161 * |
|
162 * @since 1.0 |
|
163 * @param |
|
164 * @return |
|
165 */ |
|
166 TFixPt StrokeWidth(); |
|
167 |
|
168 |
|
169 /** |
|
170 * Need method description |
|
171 * |
|
172 * @since 1.0 |
|
173 * @param |
|
174 * @return |
|
175 */ |
|
176 void SetStrokeWidth( TFixPt ); |
|
177 |
|
178 |
|
179 /** |
|
180 * Need method description |
|
181 * |
|
182 * @since 1.0 |
|
183 * @param |
|
184 * @return |
|
185 */ |
|
186 TInt8 Visibility(); |
|
187 |
|
188 |
|
189 /** |
|
190 * Need method description |
|
191 * |
|
192 * @since 1.0 |
|
193 * @param |
|
194 * @return |
|
195 */ |
|
196 void SetVisibility( TInt8 ); |
|
197 |
|
198 |
|
199 /** |
|
200 * Need method description |
|
201 * |
|
202 * @since 1.0 |
|
203 * @param |
|
204 * @return |
|
205 */ |
|
206 TGfxColor Color(); |
|
207 |
|
208 |
|
209 /** |
|
210 * Need method description |
|
211 * |
|
212 * @since 1.0 |
|
213 * @param |
|
214 * @return |
|
215 */ |
|
216 void SetColor(); |
|
217 |
|
218 |
|
219 /** |
|
220 * Need method description |
|
221 * |
|
222 * @since 1.0 |
|
223 * @param |
|
224 * @return |
|
225 */ |
|
226 //TPtr FontFamily(); |
|
227 |
|
228 |
|
229 /** |
|
230 * Need method description |
|
231 * |
|
232 * @since 1.0 |
|
233 * @param |
|
234 * @return |
|
235 */ |
|
236 //void SetFontFamily(TPtr); |
|
237 |
|
238 |
|
239 /** |
|
240 * Need method description |
|
241 * |
|
242 * @since 1.0 |
|
243 * @param |
|
244 * @return |
|
245 */ |
|
246 TInt8 FontSize(); |
|
247 |
|
248 |
|
249 /** |
|
250 * Need method description |
|
251 * |
|
252 * @since 1.0 |
|
253 * @param |
|
254 * @return |
|
255 */ |
|
256 void SetFontSize(); |
|
257 |
|
258 |
|
259 /** |
|
260 * Need method description |
|
261 * |
|
262 * @since 1.0 |
|
263 * @param |
|
264 * @return |
|
265 */ |
|
266 TInt8 FontWeight(); |
|
267 |
|
268 |
|
269 /** |
|
270 * Need method description |
|
271 * |
|
272 * @since 1.0 |
|
273 * @param |
|
274 * @return |
|
275 */ |
|
276 void SetFontWeight(); |
|
277 |
|
278 |
|
279 /** |
|
280 * Need method description |
|
281 * |
|
282 * @since 1.0 |
|
283 * @param |
|
284 * @return |
|
285 */ |
|
286 // TInt8* StrokeDasharray(); |
|
287 |
|
288 |
|
289 /** |
|
290 * Need method description |
|
291 * |
|
292 * @since 1.0 |
|
293 * @param |
|
294 * @return |
|
295 */ |
|
296 // void SetStrokeDasharray(TInt8*); |
|
297 |
|
298 |
|
299 /** |
|
300 * Need method description |
|
301 * |
|
302 * @since 1.0 |
|
303 * @param |
|
304 * @return |
|
305 */ |
|
306 TInt16 Display(); |
|
307 |
|
308 |
|
309 /** |
|
310 * Need method description |
|
311 * |
|
312 * @since 1.0 |
|
313 * @param |
|
314 * @return |
|
315 */ |
|
316 void SetDisplay( TInt16 ); |
|
317 |
|
318 |
|
319 /** |
|
320 * Need method description |
|
321 * |
|
322 * @since 1.0 |
|
323 * @param |
|
324 * @return |
|
325 */ |
|
326 TInt8 FillRule(); |
|
327 |
|
328 |
|
329 /** |
|
330 * Need method description |
|
331 * |
|
332 * @since 1.0 |
|
333 * @param |
|
334 * @return |
|
335 */ |
|
336 void SetFillRule( TInt8 ); |
|
337 |
|
338 |
|
339 /** |
|
340 * Need method description |
|
341 * |
|
342 * @since 1.0 |
|
343 * @param |
|
344 * @return |
|
345 */ |
|
346 TInt8 StrokeLinecap(); |
|
347 |
|
348 |
|
349 /** |
|
350 * Need method description |
|
351 * |
|
352 * @since 1.0 |
|
353 * @param |
|
354 * @return |
|
355 */ |
|
356 void SetStrokeLinecap( TInt8 ); |
|
357 |
|
358 |
|
359 /** |
|
360 * Need method description |
|
361 * |
|
362 * @since 1.0 |
|
363 * @param |
|
364 * @return |
|
365 */ |
|
366 TInt8 StrokeLinejoin(); |
|
367 |
|
368 |
|
369 /** |
|
370 * Need method description |
|
371 * |
|
372 * @since 1.0 |
|
373 * @param |
|
374 * @return |
|
375 */ |
|
376 void SetStrokeLinejoin( TInt8 ); |
|
377 |
|
378 |
|
379 /** |
|
380 * Need method description |
|
381 * |
|
382 * @since 1.0 |
|
383 * @param |
|
384 * @return |
|
385 */ |
|
386 ~CSvgPresentationAttrsImpl(); |
|
387 }; |
|
388 |
|
389 #endif /* _INC_CSVGPRESENTATIONATTRSIMPL_ */ |