/***********************************************************************
*  File: ximfilter.h
*  Author: Jeff Glover, P. Thompson
*  $Date: 92/03/23 12:21:03 $
*  $Revision: 1.3 $
*  Purpose: Xim filter for convoluting images.
*  Portions Copyright (c) 1990 Jeff C. Glover (jeffg@loki.wv.tek.com)
*        Interactive Technologies Division
*                Visual System Group
*                Tektronix, PO Box 1000, DS 61-049
*                Wilsonville, OR  97070
*   This  software and its documentation may be used, copied, modified,
*   and distributed for any purpose without fee, provided:
*       --  The above copyright notice appears in all copies.
*       --  This disclaimer appears in all source code copies.
*       --  The names of Tektronix or M.I.T. are not used in advertising
*           or publicity pertaining to distribution of the software
*           without prior specific written permission from me or CRL.
*   I provide this software freely as a public service.  It is NOT a
*   commercial product, and therefore is not subject to an an implied
*   warranty of merchantability or fitness for a particular purpose.  I
*   provide it as is, without warranty.
*   This software is furnished  only on the basis that any party who
*   receives it indemnifies and holds harmless the parties who furnish
*   it against any claims, demands, or liabilities connected with using
*   it, furnishing it to adatas, or providing it to a third party.
***********************************************************************/
#if (!defined(lint) && !defined(SABER))
static char ximfilter_h_rcsid[] =
"$Header: /mit/phils/X/lib/RCS/ximfilter.h,v 1.3 92/03/23 12:21:03 phils Exp Locker: phils $";

#endif

/* used by lib/ximfilter.c and Xim/filtermenu.c */
typedef struct {
    int height, width;
    int center_x, center_y;
    int divisor;
    int *data;
} ConvMatrix;


#if defined(__STDC__) || defined(__cplusplus)
#define P_(s) s
#else
#define P_(s)()
#endif

/* ximfilter.c */
int XimFilter P_((Xim * xim, ConvMatrix * filter1, ConvMatrix * filter2));

#undef P_
/*** end ximfilter.h */
