summaryrefslogtreecommitdiff
path: root/draw/draw_edge.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/draw_edge.c')
-rw-r--r--draw/draw_edge.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/draw/draw_edge.c b/draw/draw_edge.c
index adb460ac..fa192bb8 100644
--- a/draw/draw_edge.c
+++ b/draw/draw_edge.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#define BBOX_MIN -(1<<20)
#define BBOX_MAX (1<<20)
@@ -41,6 +41,12 @@ void fz_new_aa_context(fz_context *ctx)
#endif
}
+void fz_copy_aa_context(fz_context *dst, fz_context *src)
+{
+ if (dst && src)
+ memcpy(dst, src, sizeof(*src));
+}
+
void fz_free_aa_context(fz_context *ctx)
{
#ifndef AA_BITS