summaryrefslogtreecommitdiff
path: root/draw/draw_edge.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-03-12 17:15:47 +0000
committerRobin Watts <robin.watts@artifex.com>2012-03-12 17:38:14 +0000
commit1013512f2851242c446443ff0eeb297701710e2b (patch)
treeba326c5bff9de775df8ca4fb4f58ff0f1b2ad6ce /draw/draw_edge.c
parentcb2441e8ed1136dc85a9cd02f733035277be43b2 (diff)
parent2bd952f3fa8241aad0626f39343cffa9855c2d8c (diff)
downloadmupdf-1013512f2851242c446443ff0eeb297701710e2b.tar.xz
Merge branch 'header-split'
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