Unix and Linux Discussions Tagged with need help |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
9 |
10,709 |
Shell Programming and Scripting |
|
|
|
2 |
13,460 |
Homework & Coursework Questions |
|
|
|
5 |
2,928 |
Shell Programming and Scripting |
|
|
|
0 |
3,003 |
Programming |
|
|
|
5 |
1,254 |
Shell Programming and Scripting |
|
|
|
6 |
2,783 |
Solaris |
|
|
|
18 |
15,163 |
Shell Programming and Scripting |
|
|
|
4 |
1,236 |
Shell Programming and Scripting |
|
|
|
11 |
11,810 |
Homework & Coursework Questions |
|
|
|
2 |
684 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,425 |
Shell Programming and Scripting |
|
|
|
1 |
923 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,164 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,024 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,728 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
1,677 |
Shell Programming and Scripting |
|
|
|
4 |
1,578 |
Shell Programming and Scripting |
|
|
|
4 |
1,966 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
1,452 |
Shell Programming and Scripting |
|
|
|
2 |
1,415 |
Shell Programming and Scripting |
|
|
|
6 |
7,669 |
Shell Programming and Scripting |
|
|
|
1 |
1,345 |
Shell Programming and Scripting |
|
|
|
2 |
1,725 |
Shell Programming and Scripting |
|
|
|
4 |
1,723 |
Shell Programming and Scripting |
|
|
|
0 |
2,728 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,431 |
Shell Programming and Scripting |
|
|
|
4 |
1,555 |
Shell Programming and Scripting |
|
|
|
2 |
1,841 |
Shell Programming and Scripting |
|
|
|
1 |
1,471 |
Shell Programming and Scripting |
|
|
|
7 |
3,375 |
Shell Programming and Scripting |
|
|
|
2 |
3,501 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
1,794 |
Shell Programming and Scripting |
|
|
|
4 |
2,718 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
2,485 |
Shell Programming and Scripting |
|
|
|
2 |
2,052 |
Shell Programming and Scripting |
|
|
|
3 |
2,155 |
Shell Programming and Scripting |
|
|
|
16 |
5,421 |
Shell Programming and Scripting |
|
|
|
1 |
3,425 |
Programming |
|
|
|
2 |
1,616 |
Shell Programming and Scripting |
|
|
|
14 |
4,849 |
UNIX for Dummies Questions & Answers |
XFillArc() XFillArc()
Name
XFillArc - fill an arc.
Synopsis
XFillArc(display, drawable, gc, x, y, width, height, angle1, angle2)
Display *display;
Drawable drawable;
GC gc;
int x, y;
unsigned int width, height;
int angle1, angle2;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
drawable Specifies the drawable.
gc Specifies the graphics context.
x Specify the x and y coordinates of the upper-left corner of the bounding box containing the arc, relative to the origin of the
y drawable.
width Specify the width and height in pixels. These are the major and minor axes of the arc.
height
angle1 Specifies the start of the arc relative to the three-o'clock position from the center. Angles are specified in 64ths of degrees.
angle2 Specifies the path and extent of the arc relative to the start of the arc. Angles are specified in 64ths of degrees.
Description
XFillArc() draws a filled arc. The x, y, width, and height arguments specify the bounding box for the arc. See XDrawArc() for the
description of how this bounding box is used to compute the arc. Some, but not all, of the pixels drawn with XDrawArc() will be drawn by
XFillArc() with the same arguments. See XFillRectangle() for an example of the differences in pixels drawn by the draw and fill routines.
The arc forms one boundary of the area to be filled. The other boundary is determined by the arc_mode in the GC. If the arc_mode in the
GC is ArcChord, the single line segment joining the endpoints of the arc is used. If ArcPieSlice, the two line segments joining the end-
points of the arc with the center point are used.
XFillArc() uses these graphics context components: function, plane_mask, fill_style, arc_mode, subwindow_mode, clip_x_origin, clip_y_ori-
gin, and clip_mask. This function also uses these graphics context mode-dependent components: foreground, background, tile, stipple,
ts_x_origin, and ts_y_
origin.
For more information, see Volume One, Chapter 6, Drawing Graphics and Text, and Chapter 5, The Graphics Context.
Errors
BadDrawable
BadGC
BadMatch
See Also
XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDraw-
Point(), XDrawPoints(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan-
gles().
Xlib - Drawing Primitives XFillArc()