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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/draw/draw_edge.c b/draw/draw_edge.c
index 74cd3aec..fa192bb8 100644
--- a/draw/draw_edge.c
+++ b/draw/draw_edge.c
@@ -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