Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XDrawFilled(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

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

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

drawableSpecifies the drawable. 

gcSpecifies the graphics context. 

vlistSpecifies a pointer to the list of vertices. 

vcountSpecifies how many vertices are in vlist. 

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 nonzero on success.  For more information, see Volume One, Appendix B, X10 Compatibility. 

See Also

XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawLine(), XDrawLines(), XDrawPoint(), XDrawPoints(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectangles(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026