File:  [CSRG BSD Unix] / 43BSD / contrib / X / Xlib / XLine.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#include <X/mit-copyright.h>

/* $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/X/Xlib/XLine.c,v 1.1.1.1 2018/04/24 16:12:54 root Exp $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
XLine (w, x1, y1, x2, y2, width, height, pixel, func, planes)
	Window w;
	int pixel, width, height, func, planes;
	int x1, y1, x2, y2;
{
	register Display *dpy;
	register XReq *req;

	GetReq(X_Line, w);
	req->func = func;
	req->mask = planes;
	req->param.s[0] = x1;
	req->param.s[1] = y1;
	req->param.s[2] = x2;
	req->param.s[3] = y2;
	req->param.u[4] = pixel;
	req->param.b[10] = height;
	req->param.b[11] = width;
}


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.