summaryrefslogtreecommitdiff
path: root/include/fitz/shade.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fitz/shade.h')
-rw-r--r--include/fitz/shade.h15
1 files changed, 15 insertions, 0 deletions
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);
+