drawing.h revision c056561a
18db30ca8Sthorpej/* xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski <jwz@netscape.com> 28db30ca8Sthorpej * 38db30ca8Sthorpej * Permission to use, copy, modify, distribute, and sell this software and its 48db30ca8Sthorpej * documentation for any purpose is hereby granted without fee, provided that 58db30ca8Sthorpej * the above copyright notice appear in all copies and that both that 68db30ca8Sthorpej * copyright notice and this permission notice appear in supporting 78db30ca8Sthorpej * documentation. No representations are made about the suitability of this 88db30ca8Sthorpej * software for any purpose. It is provided "as is" without express or 98db30ca8Sthorpej * implied warranty. 108db30ca8Sthorpej */ 118db30ca8Sthorpej 12c056561aSmbalmer/* 1999-Nov-21 Modified by Jim Knoble <jmknoble@jmknoble.cx> 138db30ca8Sthorpej * Modifications: 148db30ca8Sthorpej * - Extracted draw_shaded_rectangle() from xscreensaver source for use 158db30ca8Sthorpej * in a separate application. Constructed separate header file. 168db30ca8Sthorpej */ 178db30ca8Sthorpej 188db30ca8Sthorpej#ifndef _DRAWING_H_ 198db30ca8Sthorpej#define _DRAWING_H_ 208db30ca8Sthorpej 218db30ca8Sthorpej#include <X11/Intrinsic.h> 228db30ca8Sthorpej 238db30ca8Sthorpejvoid 248db30ca8Sthorpejdraw_shaded_rectangle (Display *dpy, Window window, 258db30ca8Sthorpej int x, int y, 268db30ca8Sthorpej int width, int height, 278db30ca8Sthorpej int thickness, 288db30ca8Sthorpej unsigned long top_color, 298db30ca8Sthorpej unsigned long bottom_color); 308db30ca8Sthorpej 318db30ca8Sthorpej#endif /* _DRAWING_H_ */ 32