summaryrefslogtreecommitdiff
path: root/include/gmathview.h
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-05 00:01:23 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-05 00:01:23 +0100
commit2bb732bf05d9695155d4cecf70a2d3be2a0faaff (patch)
tree4c6433b9fe1faf540af34c93fdb1c9026b20aa6b /include/gmathview.h
parent76d6f35f7995f9fe6670d8d4ab2ad18508dd4ef6 (diff)
downloadgmathlib-2bb732bf05d9695155d4cecf70a2d3be2a0faaff.tar.gz
gmathlib-2bb732bf05d9695155d4cecf70a2d3be2a0faaff.tar.bz2
* Add cairo surface copy & boxed outline helper functions to gMathView
Diffstat (limited to 'include/gmathview.h')
-rw-r--r--include/gmathview.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/gmathview.h b/include/gmathview.h
index 02e1470..8f59233 100644
--- a/include/gmathview.h
+++ b/include/gmathview.h
@@ -33,6 +33,8 @@
#include <gmathlib.h>
#include <gmathcairo.h>
+#define OUTLINE_WIDTH 1
+
G_BEGIN_DECLS
#define G_TYPE_MATH_VIEW (g_math_view_get_type ())
@@ -87,4 +89,12 @@ g_math_view_set_editor_mode (GMathView *mathview, gboolean editor_mode);
G_END_DECLS
+/* Helper functions */
+
+cairo_surface_t*
+g_math_view_copy_surface (cairo_surface_t *source);
+
+void
+g_math_view_outline_boxed (cairo_surface_t *surface, GMathBoxed *boxed);
+
#endif