diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2014-04-18 15:24:11 +0100 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2014-04-18 15:26:58 +0100 |
commit | 883c430cb9b54e81e74599b990d19470bd1d9b89 (patch) | |
tree | f9887d9b6fef85f00db0adb4fbf8ee32462c7073 /platform/ios/common.h | |
parent | 223c4e57e9e0cd2eb9193aa9ddde35686d440ea7 (diff) | |
download | mupdf-883c430cb9b54e81e74599b990d19470bd1d9b89.tar.xz |
iOS: use bitmap based printing
allows printing of file types other than PDF
Diffstat (limited to 'platform/ios/common.h')
-rw-r--r-- | platform/ios/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/common.h b/platform/ios/common.h index c62b94c1..672ea119 100644 --- a/platform/ios/common.h +++ b/platform/ios/common.h @@ -20,4 +20,8 @@ int search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie); fz_rect search_result_bbox(fz_document *doc, int i); +CGDataProviderRef wrapPixmap(fz_pixmap *pix); + +CGImageRef newCGImageWithPixmap(fz_pixmap *pix, CGDataProviderRef cgdata); + #endif |