aboutsummaryrefslogtreecommitdiff
path: root/generic/Group.c
diff options
context:
space:
mode:
authorlecoanet2002-09-02 12:23:59 +0000
committerlecoanet2002-09-02 12:23:59 +0000
commitb20c8618ad7156ffc71236dbf5e6f7135837e962 (patch)
treee509cae058cab0dcdc34f66a8f829dff28f6f406 /generic/Group.c
parenta54f2d228c29f05ccdfabb777edcd36b5e31f11b (diff)
downloadtkzinc-b20c8618ad7156ffc71236dbf5e6f7135837e962.zip
tkzinc-b20c8618ad7156ffc71236dbf5e6f7135837e962.tar.gz
tkzinc-b20c8618ad7156ffc71236dbf5e6f7135837e962.tar.bz2
tkzinc-b20c8618ad7156ffc71236dbf5e6f7135837e962.tar.xz
*** empty log message ***
Diffstat (limited to 'generic/Group.c')
-rw-r--r--generic/Group.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/Group.c b/generic/Group.c
index b55e01b..2630e95 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -828,6 +828,7 @@ ToArea(Item item,
* Process each item and proceed with subtrees if
* asked for by the recursive flag.
*/
+ /* printf("searching in group %d\n", item?item->id:0);*/
for (current_item = group->head;
current_item != ZN_NO_ITEM;
current_item = current_item->next) {
@@ -835,13 +836,15 @@ ToArea(Item item,
ISCLEAR(current_item->flags, SENSITIVE_BIT)) {
continue;
}
+ /*printf("visible&sensitive %d\n", current_item?current_item->id:0);*/
IntersectBBox(&enclosing, &current_item->item_bounding_box, &inter);
if (IsEmptyBBox(&inter)) {
continue;
}
-
+ /*printf("bbox test passed %d\n", current_item?current_item->id:0);*/
if ((current_item->class != ZnGroup) || atomic || ta->recursive) {
if (current_item->class != ZnGroup) {
+ /*printf("testing %d\n", current_item?current_item->id:0);*/
PushTransform(current_item);
result = current_item->class->ToArea(current_item, ta);
PopTransform(current_item);
@@ -870,6 +873,7 @@ ToArea(Item item,
}
}
if (!ta->report && (result >= ta->enclosed)) {
+ /*printf("Doing %d\n", current_item?current_item->id:0);*/
ZnDoItem(item->wi->interp, current_item, ZN_NO_PART, ta->tag_uid);
}
}