386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sun, 19 May 1991 22:23:26 +0000 (14:23 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sun, 19 May 1991 22:23:26 +0000 (14:23 -0800)
Work on file usr/othersrc/public/ghostscript-2.4.1/gspaint.h

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/public/ghostscript-2.4.1/gspaint.h [new file with mode: 0644]

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 (file)
index 0000000..f8559c6
--- /dev/null
@@ -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));