diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 15:37:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 15:37:14 +0000 |
commit | d0593c69728e839d22fd3afad53107395d57b0b9 (patch) | |
tree | 88419d843963de33f82e754b0ad2fc8f0844992e /pencil_internal.h | |
parent | 897040bbe04a0ec02cca7826f4258c2427cc8044 (diff) | |
download | libpencil-d0593c69728e839d22fd3afad53107395d57b0b9.tar.gz libpencil-d0593c69728e839d22fd3afad53107395d57b0b9.tar.bz2 |
Calculate diagram/object bounding boxes
svn path=/trunk/pencil/; revision=7443
Diffstat (limited to 'pencil_internal.h')
-rw-r--r-- | pencil_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pencil_internal.h b/pencil_internal.h index 21579a6..df9fca9 100644 --- a/pencil_internal.h +++ b/pencil_internal.h @@ -56,6 +56,13 @@ struct pencil_item { int width, height; const char *sprite; + struct { + int x0; + int y0; + int x1; + int y1; + } bbox; + struct pencil_item *parent; struct pencil_item *next; struct pencil_item *children; |