Lines Matching full:allocation
31 struct rectangle allocation;
37 widget_get_allocation(widget, &allocation);
38 allocation.x += allocation.width / 2 -
41 if (allocation.width > allocation.height)
42 allocation.x += allocation.width / 2 - allocation.height / 2;
43 allocation.y += allocation.height / 2 -
46 if (allocation.height > allocation.width)
47 allocation.y += allocation.height / 2 - allocation.width / 2;
50 allocation.y++;
55 - allocation.x, allocation.y);
56 + allocation.x / scale, allocation.y / scale);
62 - allocation.x, allocation.y);
63 + allocation.x / scale, allocation.y / scale);
83 if (allocation.x > 0)
84 allocation.x +=
85 - allocation.width - DEFAULT_SPACING * 1.5 - extents.width;
86 + allocation.width - spacing * 1.5 - extents.width;
88 allocation.x +=
89 allocation.width / 2 - extents.width / 2;