From 18d301cda084419f45c2d5c8ed95bb291ce538c3 Mon Sep 17 00:00:00 2001 From: "William F. Jolitz" Date: Sun, 19 May 1991 14:23:26 -0800 Subject: [PATCH] 386BSD 0.1 development Work on file usr/othersrc/public/ghostscript-2.4.1/gspaint.h Co-Authored-By: Lynne Greer Jolitz Synthesized-from: 386BSD-0.1 --- .../public/ghostscript-2.4.1/gspaint.h | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 usr/othersrc/public/ghostscript-2.4.1/gspaint.h diff --git a/usr/othersrc/public/ghostscript-2.4.1/gspaint.h b/usr/othersrc/public/ghostscript-2.4.1/gspaint.h new file mode 100644 index 0000000000..f8559c62c9 --- /dev/null +++ b/usr/othersrc/public/ghostscript-2.4.1/gspaint.h @@ -0,0 +1,39 @@ +/* Copyright (C) 1989, 1990 Aladdin Enterprises. All rights reserved. + Distributed by Free Software Foundation, Inc. + +This file is part of Ghostscript. + +Ghostscript is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY. No author or distributor accepts responsibility +to anyone for the consequences of using it or for whether it serves any +particular purpose or works at all, unless he says so in writing. Refer +to the Ghostscript General Public License for full details. + +Everyone is granted permission to copy, modify and redistribute +Ghostscript, but only under the conditions described in the Ghostscript +General Public License. A copy of this license is supposed to have been +given to you along with Ghostscript so you can know your rights and +responsibilities. It should be in a file named COPYING. Among other +things, the copyright notice and this notice must be preserved on all +copies. */ + +/* gspaint.h */ +/* Painting interface for Ghostscript library */ +/* Requires gsstate.h and gsmatrix.h */ + +/* Painting */ +int gs_erasepage(P1(gs_state *)), + gs_fill(P1(gs_state *)), + gs_eofill(P1(gs_state *)), + gs_stroke(P1(gs_state *)); + +/* Image painting */ +int gs_colorimage(P7(gs_state *, int, int, int, int, gs_matrix *, byte *)), + gs_image(P6(gs_state *, int, int, int, gs_matrix *, byte *)), + gs_imagemask(P7(gs_state *, int, int, int, gs_matrix *, byte *, int)); +/* Enumeration-style image painting */ +typedef struct gs_image_enum_s gs_image_enum; +extern const uint gs_image_enum_sizeof; +int gs_image_init(P7(gs_image_enum *, gs_state *, int, int, int, int, gs_matrix *)), + gs_imagemask_init(P7(gs_image_enum *, gs_state *, int, int, int, gs_matrix *, int)), + gs_image_next(P3(gs_image_enum *, byte *, uint)); -- 2.20.1