xdrawfilled(3) [hpux man page]
XDrawFilled() XDrawFilled() Name XDrawFilled - draw a filled polygon or curve from vertex list (from X10). Synopsis Status XDrawFilled(display, drawable, gc, vlist, vcount) Display *display; Drawable drawable; GC gc; Vertex *vlist; int vcount; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). drawable Specifies the drawable. gc Specifies the graphics context. vlist Specifies a pointer to the list of vertices. vcount Specifies how many vertices are in vlist. Returns Zero on failure, non-zero on success. Description This function is provided for compatibility with X Version 10. To use it you must include the file <X11/X10.h> and link with the library -loldX. XDrawFilled() achieves the effects of the X Version 10 XDrawTiled and XDrawFilled() functions. XDrawFilled() draws arbitrary polygons or curves, according to the same rules as XDraw, and then fills them. XDrawFilled() uses the following graphics context 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. This function also uses these graphics context mode-dependent components: foreground, background, tile, stipple, ts_x_origin, ts_y_origin, dash_offset, dashes, fill_style and fill_rule. XDrawFilled() returns a Status of zero on failure, and non-zero on success. For more information, see Volume One, Appendix B, X10 Compatibility. See Also XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawLine(), XDrawLines(), XDrawPoint(), XDraw- Points(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan- gles(). Xlib - Drawing Primitives XDrawFilled()
Check Out this Related Man Page
XDrawPoints() XDrawPoints() Name XDrawPoints - draw multiple points. Synopsis XDrawPoints(display, drawable, gc, points, npoints, mode) Display *display; Drawable drawable; GC gc; XPoint *points; int npoints; int mode; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). drawable Specifies the drawable. gc Specifies the graphics context. points Specifies a pointer to an array of XPoint structures containing the positions of the points. npoints Specifies the number of points to be drawn. mode Specifies the coordinate mode. CoordModeOrigin treats all coordinates as relative to the origin, while CoordModePrevious treats all coordinates after the first as relative to the previous point, while the first is still relative to the origin. Description XDrawPoints() draws one or more points into the specified drawable. XDrawPoints() draws the points in the order listed in the array. In R4 and earlier, because of the maximum request size, there is a limit to the number of points that can be drawn in a single XDraw- Points() call, that varies according to the server. In R5, Xlib breaks the call up into as many requests as required. To determine how many points you can draw in a single call in R4, you find out your server's maximum request size using XMaxRequestSize(). Subtract three and this is the maximum number of points you can draw in a single XDrawPoints() call. XDrawPoints() uses these graphics context components: function, plane_mask, foreground, subwindow_mode, clip_x_origin, clip_y_origin, and clip_mask. For more information, see Volume One, Chapter 6, Drawing Graphics and Text, and Chapter 5, The Graphics Context. Structures typedef struct { short x, y; } XPoint; Errors BadDrawable BadGC BadMatch BadValue See Also XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDraw- Points(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan- gles(). Xlib - Drawing Primitives XDrawPoints()