#include "lx.h" #include "proto.h" #include "internal.h" void lx_PolySegment(LX_CONN *xc, LX_XID drawable, LX_XID gc, int nseg, const LX_SEGMENT *segs) { unsigned char req[12+(8*nseg)]; int i; int o; if (xc->flags & XCF_FAIL) return; req[0] = XP_REQ_PolySegment; req[1] = 0; w_card16(&req[2],3+(2*nseg)); w_card32(&req[4],drawable); w_card32(&req[8],gc); o = 12; for (i=0;i