From 76298e353df88996de4b423f3090811723b73d37 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Dec 2013 00:38:17 +0000 Subject: Performance improvements. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5214 a436a847-0d15-0410-975c-d299462d15a1 --- src/ganv-private.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/ganv-private.h') diff --git a/src/ganv-private.h b/src/ganv-private.h index 272381d..5540898 100644 --- a/src/ganv-private.h +++ b/src/ganv-private.h @@ -105,7 +105,6 @@ struct _GanvNodeImpl { double border_width; guint fill_color; guint border_color; - guint layer; gboolean can_tail; gboolean can_head; gboolean is_source; @@ -198,11 +197,23 @@ ganv_canvas_port_event(GanvCanvas* canvas, GanvPort* port, GdkEvent* event); +void +ganv_item_i2w_offset(GanvItem* item, double* px, double* py); + +void +ganv_item_i2w_pair(GanvItem* item, double* x1, double* y1, double* x2, double* y2); + +gboolean +ganv_item_move_update(GanvItem* item, double dx, double dy, gboolean update); + void ganv_item_invoke_update(GanvItem* item, int flags); /* Edge */ +void +ganv_edge_get_coords(const GanvEdge* edge, GanvEdgeCoords* coords); + void ganv_edge_request_redraw(GanvCanvasBase* canvas, const GanvEdgeCoords* coords); -- cgit v1.2.1