Lines Matching refs:item
17 #include "sp-canvas-item.h"
20 void sp_canvas_update_bbox(SPCanvasItem *item, int x1, int y1, int x2, int y2)
22 item->canvas->requestRedraw((int)item->x1, (int)item->y1, (int)item->x2, (int)item->y2);
23 item->x1 = x1;
24 item->y1 = y1;
25 item->x2 = x2;
26 item->y2 = y2;
27 item->canvas->requestRedraw((int)item->x1, (int)item->y1, (int)item->x2, (int)item->y2);
31 sp_canvas_item_reset_bounds (SPCanvasItem *item)
33 item->x1 = 0.0;
34 item->y1 = 0.0;
35 item->x2 = 0.0;
36 item->y2 = 0.0;
43 Geom::Affine sp_canvas_item_i2p_affine (SPCanvasItem * item)
45 g_assert (item != NULL); /* this may be overly zealous - it is
47 * with item == 0. */
49 return item->xform;
60 void sp_canvas_item_set_i2w_affine (SPCanvasItem * item, Geom::Affine const &i2w)
62 g_assert (item != NULL);
64 sp_canvas_item_affine_absolute(item, i2w * sp_canvas_item_i2w_affine(item->parent).inverse());
67 void sp_canvas_item_move_to_z (SPCanvasItem * item, gint z)
69 g_assert (item != NULL);
72 return sp_canvas_item_lower_to_bottom(item);
74 gint current_z = sp_canvas_item_order (item);
83 sp_canvas_item_raise (item, z - current_z);
85 sp_canvas_item_lower (item, current_z - z);