diff options
Diffstat (limited to 'otherlibs/graph/image.h')
| -rw-r--r-- | otherlibs/graph/image.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/otherlibs/graph/image.h b/otherlibs/graph/image.h deleted file mode 100644 index 441da97fbc..0000000000 --- a/otherlibs/graph/image.h +++ /dev/null @@ -1,29 +0,0 @@ -/***********************************************************************/ -/* */ -/* Objective Caml */ -/* */ -/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */ -/* */ -/* Copyright 1996 Institut National de Recherche en Informatique et */ -/* en Automatique. All rights reserved. This file is distributed */ -/* under the terms of the GNU Library General Public License, with */ -/* the special exception on linking described in file ../../LICENSE. */ -/* */ -/***********************************************************************/ - -/* $Id$ */ - -struct grimage { - int width, height; /* Dimensions of the image */ - Pixmap data; /* Pixels */ - Pixmap mask; /* Mask for transparent points, or None */ -}; - -#define Width_im(i) (((struct grimage *)Data_custom_val(i))->width) -#define Height_im(i) (((struct grimage *)Data_custom_val(i))->height) -#define Data_im(i) (((struct grimage *)Data_custom_val(i))->data) -#define Mask_im(i) (((struct grimage *)Data_custom_val(i))->mask) - -#define Transparent (-1) - -value gr_new_image(int w, int h); |
