W_SETPATTERN(3)			WLIB-CALLS		W_SETPATTERN(3)

NAME

	w_setpattern()

SYPNOSIS

	#include <Wlib.h>

	ushort w_setpattern(short handle, ushort pattern);

DESCRIPTION

	 w_setpattern() sets a drawing pattern for a window which will be used
	by all following dashed graphics operations. the pattern is a simple
	16 bit value where a bit of 1 means `draw this pixel' and you may guess
	what the other value means.

	 currently only w_dbox() is implemented and even that one isn't used
	by any client. this will change in the next version.

	 note that dashed graphic operations do not obey the drawing mode as
	set by w_setmode().

RETURNS

	- the old pattern

SEE ALSO

	wdbox(3)

LAST CHANGED

	12/94 by TeSche, itschere@techfak.uni-bielefeld.de
