summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fitz/path.h2
-rw-r--r--include/fitz/text.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/fitz/path.h b/include/fitz/path.h
index f0a3d573..75b3060d 100644
--- a/include/fitz/path.h
+++ b/include/fitz/path.h
@@ -52,7 +52,7 @@ struct fz_pathnode_s
};
fz_error *fz_newpathnode(fz_pathnode **pathp);
-fz_error *fz_clonepath(fz_pathnode **pathp, fz_pathnode *oldpath);
+fz_error *fz_clonepathnode(fz_pathnode **pathp, fz_pathnode *oldpath);
fz_error *fz_moveto(fz_pathnode*, float x, float y);
fz_error *fz_lineto(fz_pathnode*, float x, float y);
fz_error *fz_curveto(fz_pathnode*, float, float, float, float, float, float);
diff --git a/include/fitz/text.h b/include/fitz/text.h
index 1a321f8f..8bb6ee5a 100644
--- a/include/fitz/text.h
+++ b/include/fitz/text.h
@@ -16,6 +16,7 @@ struct fz_textnode_s
};
fz_error *fz_newtextnode(fz_textnode **textp, fz_font *face);
+fz_error *fz_clonetextnode(fz_textnode **textp, fz_textnode *oldtext);
fz_error *fz_addtext(fz_textnode *text, int g, float x, float y);
fz_error *fz_endtext(fz_textnode *text);