From 4b2218b903da6de40e8a82b9e2a69157d415637c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Nov 2004 06:42:52 +0100 Subject: added shade code skeleton --- include/fitz/shade.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/fitz/shade.h (limited to 'include/fitz/shade.h') diff --git a/include/fitz/shade.h b/include/fitz/shade.h new file mode 100644 index 00000000..7641f609 --- /dev/null +++ b/include/fitz/shade.h @@ -0,0 +1,15 @@ +typedef struct fz_shade_s fz_shade; + +struct fz_shade_s +{ + int refs; + fz_colorspace *cs; + // ... +}; + +fz_shade *fz_keepshade(fz_shade *shade); +void fz_dropshade(fz_shade *shade); + +fz_rect fz_boundshade(fz_shade *shade, fz_matrix ctm); +fz_error *fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_colorspace *dsts, fz_pixmap *dstp, int over); + -- cgit v1.2.3