summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-20 15:02:08 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-20 16:46:10 +0200
commit73f5ba5cb7520a01d5bc4d85358f21d298d33317 (patch)
treed91890b7ccdbb59ff992d96f281bcb2a88ca2292 /include
parent643370f04348569b5e5e577660031d638537671c (diff)
downloadmupdf-73f5ba5cb7520a01d5bc4d85358f21d298d33317.tar.xz
Rename fz_image_to_pixmap to fz_new_pixmap_from_image.
Match our naming conventions.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 2c6850c8..5f258844 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -20,7 +20,7 @@
typedef struct fz_image_s fz_image;
/*
- fz_image_to_pixmap: Called to get a handle to a pixmap from an image.
+ fz_new_pixmap_from_image: Called to get a handle to a pixmap from an image.
image: The image to retrieve a pixmap from.
@@ -34,7 +34,7 @@ typedef struct fz_image_s fz_image;
Returns a non NULL pixmap pointer. May throw exceptions.
*/
-fz_pixmap *fz_image_to_pixmap(fz_context *ctx, fz_image *image, int w, int h);
+fz_pixmap *fz_new_pixmap_from_image(fz_context *ctx, fz_image *image, int w, int h);
/*
fz_drop_image: Drop a reference to an image.