summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-10-25 05:28:12 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-10-25 05:28:12 +0000
commit10ead8d107b3db4b72e7ced82056f594fe6ba0be (patch)
tree152f8cb6854c9970605ca30151ac861fb8ea75c6 /legacy/evas/src/lib
parente082ab0e741c49fd8fee11be94f460a001befa9e (diff)
evas - added Evas_Coord_Size, Evas_Coord_Precision_Size types
SVN revision: 78417
Diffstat (limited to 'legacy/evas/src/lib')
-rw-r--r--legacy/evas/src/lib/Evas.h27
1 files changed, 22 insertions, 5 deletions
diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h
index b8b6d16..e964e75 100644
--- a/legacy/evas/src/lib/Evas.h
+++ b/legacy/evas/src/lib/Evas.h
@@ -712,6 +712,9 @@ typedef struct _Evas_Point Evas_Point; /**< integer point */
712typedef struct _Evas_Coord_Point Evas_Coord_Point; /**< Evas_Coord point */ 712typedef struct _Evas_Coord_Point Evas_Coord_Point; /**< Evas_Coord point */
713typedef struct _Evas_Coord_Precision_Point Evas_Coord_Precision_Point; /**< Evas_Coord point with sub-pixel precision */ 713typedef struct _Evas_Coord_Precision_Point Evas_Coord_Precision_Point; /**< Evas_Coord point with sub-pixel precision */
714 714
715typedef struct _Evas_Coord_Size Evas_Coord_Size; /** <Evas_Coord size @since 1.8 */
716typedef struct _Evas_Coord_Precision_Size Evas_Coord_Precision_Size; /** <Evas_Coord size with sub-pixel precision @since 1.8 */
717
715typedef struct _Evas_Position Evas_Position; /**< associates given point in Canvas and Output */ 718typedef struct _Evas_Position Evas_Position; /**< associates given point in Canvas and Output */
716typedef struct _Evas_Precision_Position Evas_Precision_Position; /**< associates given point in Canvas and Output, with sub-pixel precision */ 719typedef struct _Evas_Precision_Position Evas_Precision_Position; /**< associates given point in Canvas and Output, with sub-pixel precision */
717 720
@@ -825,23 +828,37 @@ struct _Evas_Coord_Rectangle /**< A rectangle in Evas_Coord */
825 Evas_Coord h; /**< height of rectangle */ 828 Evas_Coord h; /**< height of rectangle */
826}; 829};
827 830
828struct _Evas_Point
829{
830 int x, y;
831};
832
833struct _Evas_Coord_Point 831struct _Evas_Coord_Point
834{ 832{
835 Evas_Coord x; /**< x co-ordinate */ 833 Evas_Coord x; /**< x co-ordinate */
836 Evas_Coord y; /**< y co-ordinate */ 834 Evas_Coord y; /**< y co-ordinate */
837}; 835};
838 836
837struct _Evas_Coord_Size
838{
839 Evas_Coord w; /**< width */
840 Evas_Coord h; /**< height */
841};
842
843struct _Evas_Coord_Precision_Size
844{
845 Evas_Coord w; /** < width */
846 Evas_Coord h; /** < height */
847 double wsub; /** < subpixel precision for width */
848 double ysub; /** < subpixel precision for height */
849};
850
839struct _Evas_Coord_Precision_Point 851struct _Evas_Coord_Precision_Point
840{ 852{
841 Evas_Coord x, y; 853 Evas_Coord x, y;
842 double xsub, ysub; 854 double xsub, ysub;
843}; 855};
844 856
857struct _Evas_Point
858{
859 int x, y;
860};
861
845struct _Evas_Position 862struct _Evas_Position
846{ 863{
847 Evas_Point output; 864 Evas_Point output;