Tizen 2.1 base
[framework/osp/uifw.git] / inc / FGrpCanvasCommon.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://floralicense.org/license/
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file        FGrpCanvasCommon.h
20  * @brief       This is the header file for the enumerations of the Canvas class.
21  *
22  * This header file contains the definitions of the enumerations of the Canvas class.
23  */
24
25 #ifndef _FGRP_CANVAS_COMMON_H_
26 #define _FGRP_CANVAS_COMMON_H_
27
28 namespace Tizen { namespace Graphics
29 {
30 /**
31  * @enum        LineStyle
32  *
33  * Defines the line style.
34  *
35  * @since       2.0
36  */
37 enum LineStyle
38 {
39         LINE_STYLE_SOLID = 1, /**< The solid line style */
40         LINE_STYLE_MAX, // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
41         LINE_STYLE_MIN = 0 // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
42 };
43
44 /**
45  * @enum        ArcStyle
46  *
47  * Defines the arc style.
48  *
49  * @since       2.0
50  */
51 enum ArcStyle
52 {
53         ARC_STYLE_ONLY = 1, /**< An arc line is drawn */
54         ARC_STYLE_PIE, /**< A pie (arc and chords) is drawn */
55         ARC_STYLE_CHORD, /**< A chord is drawn */
56         ARC_STYLE_FILLED_PIE, /**< A filled pie is drawn */
57         ARC_STYLE_FILLED_CHORD, /**< A filled chord is drawn */
58         ARC_STYLE_MAX, // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
59         ARC_STYLE_MIN = 0 // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
60 };
61
62 /**
63  * @enum        FlipDirection
64  *
65  * Defines the flip direction.
66  *
67  * @since       2.0
68  */
69 enum FlipDirection
70 {
71         FLIP_DIRECTION_HORIZONTAL = 1, /**< The horizontal type */
72         FLIP_DIRECTION_VERTICAL, /**< The vertical type */
73         FLIP_DIRECTION_MAX, // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
74         FLIP_DIRECTION_MIN = 0 // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
75 };
76
77 } } // Tizen::Graphics
78
79 #endif // _FGRP_CANVAS_COMMON_H_