evas - added Evas_Coord_Size, Evas_Coord_Precision_Size types

SVN revision: 78417
This commit is contained in:
ChunEon Park 2012-10-25 05:28:12 +00:00
parent e082ab0e74
commit 10ead8d107
1 changed files with 22 additions and 5 deletions

View File

@ -712,6 +712,9 @@ typedef struct _Evas_Point Evas_Point; /**< integer point */
typedef struct _Evas_Coord_Point Evas_Coord_Point; /**< Evas_Coord point */
typedef struct _Evas_Coord_Precision_Point Evas_Coord_Precision_Point; /**< Evas_Coord point with sub-pixel precision */
typedef struct _Evas_Coord_Size Evas_Coord_Size; /** <Evas_Coord size @since 1.8 */
typedef struct _Evas_Coord_Precision_Size Evas_Coord_Precision_Size; /** <Evas_Coord size with sub-pixel precision @since 1.8 */
typedef struct _Evas_Position Evas_Position; /**< associates given point in Canvas and Output */
typedef struct _Evas_Precision_Position Evas_Precision_Position; /**< associates given point in Canvas and Output, with sub-pixel precision */
@ -825,23 +828,37 @@ struct _Evas_Coord_Rectangle /**< A rectangle in Evas_Coord */
Evas_Coord h; /**< height of rectangle */
};
struct _Evas_Point
{
int x, y;
};
struct _Evas_Coord_Point
{
Evas_Coord x; /**< x co-ordinate */
Evas_Coord y; /**< y co-ordinate */
};
struct _Evas_Coord_Size
{
Evas_Coord w; /**< width */
Evas_Coord h; /**< height */
};
struct _Evas_Coord_Precision_Size
{
Evas_Coord w; /** < width */
Evas_Coord h; /** < height */
double wsub; /** < subpixel precision for width */
double ysub; /** < subpixel precision for height */
};
struct _Evas_Coord_Precision_Point
{
Evas_Coord x, y;
double xsub, ysub;
};
struct _Evas_Point
{
int x, y;
};
struct _Evas_Position
{
Evas_Point output;