Lines Matching defs:rect
1049 GdkRectangle rect;
1055 rect = sp_ruler_get_pos_rect (ruler, priv->position);
1057 xdiff = rect.x - priv->last_pos_rect.x;
1058 ydiff = rect.y - priv->last_pos_rect.y;
1419 GdkRectangle rect = { 0, 0, 0, 0 };
1422 return rect;
1445 rect.width = height / 2 + 2;
1446 rect.width |= 1; /* make sure it's odd */
1447 rect.height = rect.width / 2 + 1;
1454 rect.height = width / 2 + 2;
1455 rect.height |= 1; /* make sure it's odd */
1456 rect.width = rect.height / 2 + 1;
1465 rect.x = ROUND ((position - lower) * increment) + (xthickness - rect.width) / 2 - 1;
1466 rect.y = (height + rect.height) / 2 + ythickness;
1472 rect.x = (width + rect.width) / 2 + xthickness;
1473 rect.y = ROUND ((position - lower) * increment) + (ythickness - rect.height) / 2 - 1;
1476 rect.x += allocation.x;
1477 rect.y += allocation.y;
1479 return rect;
1500 const GdkRectangle rect = sp_ruler_get_pos_rect (ruler, priv->position);
1503 rect.x,
1504 rect.y,
1505 rect.width,
1506 rect.height);