Merge "Fix Ime Rotation" into tizen_2.1
[platform/framework/native/uifw.git] / inc / FGrpCanvasCommon.h
index 9b1746a..8e2d08c 100644 (file)
@@ -74,6 +74,64 @@ enum FlipDirection
        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.
 };
 
+/**
+ * @enum               LineCapStyle
+ *
+ * Defines the line cap style.
+ *
+ * @since      2.1
+ */
+enum LineCapStyle
+{
+       LINE_CAP_STYLE_ROUND, /**< A rounded end */
+       LINE_CAP_STYLE_BUTT, /**< A flat end */
+       LINE_CAP_STYLE_SQUARE /**< A square end */
+};
+
+/**
+ * @enum               LineJoinStyle
+ *
+ * Defines the line join style.
+ *
+ * @since      2.1
+ */
+enum LineJoinStyle
+{
+       LINE_JOIN_STYLE_ROUND, /**< A rounded corner */
+       LINE_JOIN_STYLE_MITER, /**< A sharp corner */
+       LINE_JOIN_STYLE_BEVEL /**< A beveled corner */
+};
+
+/**
+* @enum        CompositeMode
+*
+* Defines the composite mode.
+*
+* @since         2.1
+*/
+enum CompositeMode
+{
+       COMPOSITE_MODE_CLEAR, /**< Clearing destination layer */
+       COMPOSITE_MODE_SRC, /**< Replacing destination layer */
+       COMPOSITE_MODE_DST, /**< Ignoring the source */
+       COMPOSITE_MODE_SRC_OVER, /**< Drawing source layer on top of destination layer */
+       COMPOSITE_MODE_DST_OVER, /**< Drawing destination on top of source */
+       COMPOSITE_MODE_SRC_IN, /**< Drawing source when there is destination content */
+       COMPOSITE_MODE_DST_IN, /**< Leaving destination only when there is source content */
+       COMPOSITE_MODE_SRC_OUT, /**< Drawing source when there is no destination content */
+       COMPOSITE_MODE_DST_OUT, /**< Leaving destination only when there is no source content */
+       COMPOSITE_MODE_SRC_ATOP, /**< Drawing source only on top of destination content */
+       COMPOSITE_MODE_DST_ATOP, /**< Leaving destination only on top of source content */
+       COMPOSITE_MODE_DST_XOR, /**< Source and destination are shown where there is only one of them */
+       COMPOSITE_MODE_ADD, /**< Source and destination layers are accumulated */
+       COMPOSITE_MODE_SATURATE, /**< Source and destination are disjoint geometries */
+       COMPOSITE_MODE_MULTIPLY, /**< Source and destination layers are multiplied @n This causes the result to be at least as dark as the darker inputs. */
+       COMPOSITE_MODE_SCREEN, /**< Source and destination are complemented and multiplied @n This causes the result to be at least as light as the lighter inputs. */
+       COMPOSITE_MODE_OVERLAY, /**< This mode multiplies or screens, depending on the lightness of the destination color */
+       COMPOSITE_MODE_DARKEN, /**< This mode replaces the destination with the source if it is darker, otherwise keeps the source */
+       COMPOSITE_MODE_LIGHTEN /**< This mode replaces the destination with the source if it is lighter, otherwise keeps the source */
+};
+
 } } // Tizen::Graphics
 
 #endif // _FGRP_CANVAS_COMMON_H_