summaryrefslogtreecommitdiff
path: root/gfx/diff.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-17 21:28:42 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-17 21:28:42 -0300
commit65ba1f11f0ca4bc191df128a28af5c12a330c110 (patch)
treef563a8bee6810fdc0eb25d7e82b08c1928f10ebd /gfx/diff.h
parente803d8a5819097eb2fcb6f29264c47fa65ae2b85 (diff)
downloadeeshow-65ba1f11f0ca4bc191df128a28af5c12a330c110.tar.gz
eeshow-65ba1f11f0ca4bc191df128a28af5c12a330c110.tar.bz2
eeshow-65ba1f11f0ca4bc191df128a28af5c12a330c110.zip
eeshow/: move graphics low-level functions to gfx/
Diffstat (limited to 'gfx/diff.h')
-rw-r--r--gfx/diff.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gfx/diff.h b/gfx/diff.h
new file mode 100644
index 0000000..4042ccc
--- /dev/null
+++ b/gfx/diff.h
@@ -0,0 +1,29 @@
+/*
+ * gfx/diff.h - Schematics difference
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#ifndef GFX_DIFF_H
+#define GFX_DIFF_H
+
+#include <cairo/cairo.h>
+
+#include "gfx/gfx.h"
+#include "gfx/cro.h"
+
+
+extern const struct gfx_ops diff_ops;
+
+
+void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
+ struct cro_ctx *old, struct cro_ctx *new);
+
+#endif /* !GFX_DIFF_H */