drawing.h revision 8db30ca8
1/* xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski <jwz@netscape.com>
2 *
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation.  No representations are made about the suitability of this
8 * software for any purpose.  It is provided "as is" without express or
9 * implied warranty.
10 */
11
12/* 1999-Nov-21 Modified by Jim Knoble <jmknoble@pobox.com>
13 * Modifications:
14 *   - Extracted draw_shaded_rectangle() from xscreensaver source for use
15 *     in a separate application.  Constructed separate header file.
16 */
17
18#ifndef _DRAWING_H_
19#define _DRAWING_H_
20
21#include <X11/Intrinsic.h>
22
23void
24draw_shaded_rectangle (Display *dpy, Window window,
25		       int x, int y,
26		       int width, int height,
27		       int thickness,
28		       unsigned long top_color,
29		       unsigned long bottom_color);
30
31#endif /* _DRAWING_H_ */
32