XDrawFilled

Syntax

#include <X11/X10.h>

Status XDrawFilled(display, d, gc, vlist, vcount)
	Display *display;
	Drawable d;
	GC gc;
	Vertex *vlist;
	int vcount;

Arguments

display Specifies the connection to the X server.
d Specifies the drawable.
gc Specifies the GC.
vlist Specifies a pointer to the list of vertices that indicate what to draw.
vcount Specifies how many vertices are in vlist.

Description

The XDrawFilled() function draws arbitrary polygons or curves and then fills them.

This function uses these GC components: function, plane-mask, line-width, line-style, cap-style, join-style, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. It also uses these GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin, dash-offset, dash-list, fill-style, and fill-rule.

See also

XDraw(), "Compatibility Functions".
Christophe Tronche, ch@tronche.com