summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-18 15:30:46 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-28 13:21:02 +0100
commit497d9f348c23ff0465147734bf5dcb548511b256 (patch)
tree316500b56d3eae73ba90a8cf60ca717643f5c592 /include
parent17db174004b7d94777d2c3d2d09c8fba629b6e78 (diff)
downloadmupdf-497d9f348c23ff0465147734bf5dcb548511b256.tar.xz
Rename fz_image_get_pixmap to fz_get_pixmap_from_image.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 05bf0d70..41b53475 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_new_pixmap_from_image: Called to get a handle to a pixmap from an image.
+ fz_get_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_new_pixmap_from_image(fz_context *ctx, fz_image *image, int w, int h);
+fz_pixmap *fz_get_pixmap_from_image(fz_context *ctx, fz_image *image, int w, int h);
/*
fz_drop_image: Drop a reference to an image.
@@ -56,7 +56,7 @@ fz_image *fz_new_image(fz_context *ctx, int w, int h, int bpc, fz_colorspace *co
fz_image *fz_new_image_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, fz_image *mask);
fz_image *fz_new_image_from_data(fz_context *ctx, unsigned char *data, int len);
fz_image *fz_new_image_from_buffer(fz_context *ctx, fz_buffer *buffer);
-fz_pixmap *fz_image_get_pixmap(fz_context *ctx, fz_image *image, int w, int h);
+fz_pixmap *fz_get_pixmap_from_image(fz_context *ctx, fz_image *image, int w, int h);
void fz_drop_image_imp(fz_context *ctx, fz_storable *image);
fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_image *image, int indexed, int l2factor);
fz_pixmap *fz_expand_indexed_pixmap(fz_context *ctx, fz_pixmap *src);