summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-07-07 14:17:25 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-07-08 17:21:23 +0200
commit8162e4840f052fd63b3c1e1437042f4378f3ee83 (patch)
tree9c584f11e65ccf73b699e54981cc6eaca37d3fab /include
parent5b029fe5752c11e8de2e683c857db547e90a45be (diff)
downloadmupdf-8162e4840f052fd63b3c1e1437042f4378f3ee83.tar.xz
Slim pdf_annot struct: remove cached inv_page_ctm field.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/annot.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h
index ea6b2caa..16e00c17 100644
--- a/include/mupdf/pdf/annot.h
+++ b/include/mupdf/pdf/annot.h
@@ -59,10 +59,12 @@ struct pdf_annot_s
{
fz_annot super;
pdf_page *page;
- fz_matrix page_ctm, inv_page_ctm;
pdf_obj *obj;
+ fz_matrix page_ctm;
+
pdf_xobject *ap;
+
int ap_iteration;
pdf_annot *next;
pdf_annot *next_changed;
@@ -150,6 +152,6 @@ pdf_annot *pdf_poll_changed_annot(fz_context *ctx, pdf_document *idoc, pdf_page
/*
pdf_new_annot: Internal function for creating a new pdf annotation.
*/
-pdf_annot *pdf_new_annot(fz_context *ctx, pdf_page *page, const fz_matrix *page_ctm, const fz_matrix *inv_page_ctm);
+pdf_annot *pdf_new_annot(fz_context *ctx, pdf_page *page, const fz_matrix *page_ctm);
#endif