home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
sa104os2.zip
/
SATHR104.ZIP
/
SATHER
/
CONTRIB
/
SCHNETTR
/
XLIB
/
DRAWABLE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-28
|
938b
|
40 lines
/* -*-C-*-
* access to the X Window System for Sather
* (c) 1994/11/03 - 1994/11/28 by Erik Schnetter
*/
#include <X11/X.h>
#include <X11/Xlib.h>
#include "../../System/header.h"
void X_DrawPoint (Display* display, INT drawable, GC gc, INT x, INT y)
/* GC is struct* */
{
XDrawPoint (display, drawable, gc, x, y);
}
void X_DrawLine (Display* display, INT drawable, GC gc,
INT x1, INT y1, INT x2, INT y2)
/* GC is struct* */
{
XDrawLine (display, drawable, gc, x1, y1, x2, y2);
}
void X_CopyArea (Display* display, INT src, INT dest, GC gc,
INT src_x, INT src_y, INT width, INT height,
INT dest_x, INT dest_y)
/* GC is struct* */
{
XCopyArea (display, src, dest, gc,
src_x, src_y, width, height, dest_x, dest_y);
}
void X_FillRectangle (Display* display, INT drawable, GC gc,
INT x, INT y, INT width, INT height)
/* GC is struct* */
{
XFillRectangle (display, drawable, gc, x, y, width, height);
}