diff options
Diffstat (limited to 'include/gmathview.h')
-rw-r--r-- | include/gmathview.h | 10 |
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 |