From 02d5b2280db2846e4a683944819eb395ab15b8ce Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 15 Dec 2015 15:51:35 +0100 Subject: Rename fz_halftone_pixmap to fz_new_bitmap_from_pixmap. --- include/mupdf/fitz/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mupdf/fitz/bitmap.h b/include/mupdf/fitz/bitmap.h index 438bfbe4..feb9afa6 100644 --- a/include/mupdf/fitz/bitmap.h +++ b/include/mupdf/fitz/bitmap.h @@ -41,7 +41,7 @@ void fz_drop_bitmap(fz_context *ctx, fz_bitmap *bit); typedef struct fz_halftone_s fz_halftone; /* - fz_halftone_pixmap: Make a bitmap from a pixmap and a halftone. + fz_new_bitmap_from_pixmap: Make a bitmap from a pixmap and a halftone. pix: The pixmap to generate from. Currently must be a single color component + alpha (where the alpha is assumed to be solid). @@ -51,7 +51,7 @@ typedef struct fz_halftone_s fz_halftone; Returns the resultant bitmap. Throws exceptions in the case of failure to allocate. */ -fz_bitmap *fz_halftone_pixmap(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht); +fz_bitmap *fz_new_bitmap_from_pixmap(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht); struct fz_bitmap_s { -- cgit v1.2.3