From 1812e625ea98cfc0035f13b31b11b4e72ad15aca Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 29 Dec 2010 19:49:33 +0000 Subject: Rename mesh painting functions to 'paint' to conform with the other painting functions. --- fitz/dev_draw.c | 2 +- fitz/fitz.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fitz') diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c index f61f1613..e71abe24 100644 --- a/fitz/dev_draw.c +++ b/fitz/dev_draw.c @@ -516,7 +516,7 @@ fz_drawfillshade(void *user, fz_shade *shade, fz_matrix ctm, float alpha) } } - fz_rendershade(shade, ctm, dest, bbox); + fz_paintshade(shade, ctm, dest, bbox); if (alpha < 1) { diff --git a/fitz/fitz.h b/fitz/fitz.h index e35bf0f9..76a234f3 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -831,7 +831,7 @@ void fz_dropshade(fz_shade *shade); void fz_debugshade(fz_shade *shade); fz_rect fz_boundshade(fz_shade *shade, fz_matrix ctm); -void fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_pixmap *dst, fz_bbox bbox); +void fz_paintshade(fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_bbox bbox); /* * Glyph cache -- cgit v1.2.3