From 7ee19483ed81a885f464d4e93f4eefb3d4037d30 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 4 Jun 2005 15:58:45 +0200 Subject: new world order --- fitz/res_shade.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 fitz/res_shade.c (limited to 'fitz/res_shade.c') diff --git a/fitz/res_shade.c b/fitz/res_shade.c deleted file mode 100644 index 67a64e4e..00000000 --- a/fitz/res_shade.c +++ /dev/null @@ -1,28 +0,0 @@ -#include - -fz_shade * -fz_keepshade(fz_shade *shade) -{ - shade->refs ++; - return shade; -} - -void -fz_dropshade(fz_shade *shade) -{ - if (--shade->refs == 0) - { - if (shade->cs) - fz_dropcolorspace(shade->cs); - fz_free(shade->mesh); - fz_free(shade); - } -} - -fz_rect -fz_boundshade(fz_shade *shade, fz_matrix ctm) -{ - ctm = fz_concat(shade->matrix, ctm); - return fz_transformaabb(ctm, shade->bbox); -} - -- cgit v1.2.3