diff options
author | David Robillard <d@drobilla.net> | 2013-12-27 00:38:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-27 00:38:17 +0000 |
commit | 76298e353df88996de4b423f3090811723b73d37 (patch) | |
tree | 307edcd3cebb36acf404af5ffb8aaad48de72cb3 /src/ganv-private.h | |
parent | f3d304f86be2d4639ba61267a1ca861900fb9d7d (diff) | |
download | ganv-76298e353df88996de4b423f3090811723b73d37.tar.gz ganv-76298e353df88996de4b423f3090811723b73d37.tar.bz2 ganv-76298e353df88996de4b423f3090811723b73d37.zip |
Performance improvements.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5214 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ganv-private.h')
-rw-r--r-- | src/ganv-private.h | 13 |
1 files changed, 12 insertions, 1 deletions
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; @@ -199,11 +198,23 @@ ganv_canvas_port_event(GanvCanvas* canvas, 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); |