equal
deleted
inserted
replaced
|
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 * Container for draw path. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef T_DRAWPATH_H |
|
22 #define T_DRAWPATH_H |
|
23 |
|
24 |
|
25 #include <e32cmn.h> |
|
26 #include <e32std.h> |
|
27 #include <gdi.h> |
|
28 |
|
29 /** |
|
30 * Container for draw path |
|
31 * |
|
32 * @lib internal(filterdraw.dll) |
|
33 * @since S60 5.0 |
|
34 */ |
|
35 class RDrawPath : public RArray<TPoint> |
|
36 { |
|
37 public: |
|
38 |
|
39 RDrawPath(); |
|
40 |
|
41 public: |
|
42 /** |
|
43 * Color. |
|
44 * |
|
45 * @since S60 5.0 |
|
46 * @return Path color |
|
47 */ |
|
48 TRgb Color(){return iColor;}; |
|
49 |
|
50 /** |
|
51 * SetColor. (defalt KRgbRed) |
|
52 * |
|
53 * @since S60 5.0 |
|
54 * @param aRgb Path color |
|
55 */ |
|
56 void SetColor(TRgb aRgb){iColor=aRgb;}; |
|
57 |
|
58 /** |
|
59 * Size. |
|
60 * |
|
61 * @since S60 5.0 |
|
62 * @return Path size |
|
63 */ |
|
64 TSize Size(){return iSize;}; |
|
65 |
|
66 /** |
|
67 * SetSize. |
|
68 * |
|
69 * @since S60 5.0 |
|
70 * @param aSize Path size |
|
71 */ |
|
72 void SetSize(TSize aSize){iSize=aSize;}; |
|
73 |
|
74 private: // data |
|
75 |
|
76 /** |
|
77 * Path color |
|
78 */ |
|
79 TRgb iColor; |
|
80 TSize iSize; |
|
81 }; |
|
82 |
|
83 #endif // T_DRAWPATH_H |