Mercurial > MadButterfly
changeset 438:1ee11bab38fa
More doc
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 30 Jul 2009 15:42:47 +0800 |
parents | e73b3644d802 |
children | 254854ed479c |
files | src/event.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event.c Thu Jul 30 15:42:43 2009 +0800 +++ b/src/event.c Thu Jul 30 15:42:47 2009 +0800 @@ -562,6 +562,8 @@ return FALSE; } +/*! \brief Find all shapes whose bounding box include a specified position. + */ static int _shape_pos_is_in(shape_t *shape, co_aix x, co_aix y, int *in_stroke, cairo_t *cr) { @@ -579,6 +581,8 @@ return TRUE; } +/*! \brief Find first shape that is draw at a specified position. + */ static shape_t *_find_shape_in_pos(redraw_man_t *rdman, co_aix x, co_aix y, int *in_stroke) { shape_t *shape;