Searched defs:alloc (Results 1 - 3 of 3) sorted by relevance

/inkscape/src/libgdl/
H A Dgdl-dock-paned.c397 GtkAllocation alloc; local
408 gtk_widget_get_allocation (GTK_WIDGET (object), &alloc); local
412 rel_x = x - alloc.x;
413 rel_y = y - alloc.y;
419 if (rel_x > 0 && rel_x < alloc.width &&
420 rel_y > 0 && rel_y < alloc.height) {
433 my_request.rect.width = alloc.width - 2*bw;
434 my_request.rect.height = alloc.height - 2*bw;
443 } else if (rel_x > alloc.width - (gint)bw) {
452 } else if (rel_y > alloc
[all...]
H A Dgdl-dock.c790 GtkAllocation alloc; local
801 gtk_widget_get_allocation (GTK_WIDGET (dock), &alloc); local
805 rel_x = x - alloc.x;
806 rel_y = y - alloc.y;
812 if (rel_x > 0 && rel_x < alloc.width &&
813 rel_y > 0 && rel_y < alloc.height) {
819 my_request.rect.x = alloc.x + bw;
820 my_request.rect.y = alloc.y + bw;
821 my_request.rect.width = alloc.width - 2*bw;
822 my_request.rect.height = alloc
[all...]
H A Dgdl-dock-item.c1264 GtkAllocation alloc; local
1270 gtk_widget_get_allocation (GTK_WIDGET (object), &alloc); local
1273 rel_x = x - alloc.x;
1274 rel_y = y - alloc.y;
1277 if (rel_x > 0 && rel_x < alloc.width &&
1278 rel_y > 0 && rel_y < alloc.height) {
1288 rx = (float) rel_x / alloc.width;
1289 ry = (float) rel_y / alloc.height;
1315 request->rect.width = alloc.width;
1316 request->rect.height = alloc
[all...]

Completed in 728 milliseconds