XFillRectangle(3X11) | XLIB FUNCTIONS | XFillRectangle(3X11) |
̾??¶
XFillRectangle, XFillRectangles, XFillPolygon, XFillArc, XFillArcs - Ĺ??????¿?ѷ????߸̤??ɤ??Ĥ֤?
????¶
XFillRectangle(display, d, gc, x,
y, width, height)
Display *display;
Drawable d;
GC gc;
int x, y;
unsigned int width, height;
XFillRectangles(display, d, gc,
rectangles, nrectangles)
Display *display;
Drawable d;
GC gc;
XRectangle *rectangles;
int nrectangles;
XFillPolygon(display, d, gc, points,
npoints, shape, mode)
Display *display;
Drawable d;
GC gc;
XPoint *points;
int npoints;
int shape;
int mode;
XFillArc(display, d, gc, x, y,
width, height, angle1, angle2)
Display *display;
Drawable d;
GC gc;
int x, y;
unsigned int width, height;
int angle1, angle2;
XFillArcs(display, d, gc, arcs,
narcs)
Display *display;
Drawable d;
GC gc;
XArc *arcs;
int narcs;
??????¶
- angle1
- ???ϳѤ????ꤹ?롣 ?????ϱߤ?????????3?????????Ǥ??ꡢñ?̤ϸ??? * 64?Ǥ??롣
- angle2
- ???ϳѤ??Ф??Ƹ̤ε??פ??ΰ??????ꤹ?롣 ñ?̤ϸ???*64?Ǥ??롣
- arcs
- ?߸̤??????????ꤹ?롣
- d
- ?ɥ??????֥??????ꤹ?롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- gc
- GC ?????ꤹ?롣
- mode
- ??ɸ?⡼?ɤ????ꤹ?롣 CoordModeOrigin ???뤤?? CoordModePrevious ???Ϥ????Ȥ??Ǥ??롣
- narcs
- ???????α߸̤ο??????ꤹ?롣
- npoints
- ???????????ο??????ꤹ?롣
- nrectangles
- ????????Ĺ?????ο??????ꤹ?롣
- points
- ?????????????ꤹ?롣
- rectangles
- Ĺ???????????????ꤹ?롣
- shape
- ?????Фθ?Ψ???????????뤿???η????????ꤹ?롣 Complex, Convex, Nonconvex ?Τ????줫???Ϥ????Ȥ??Ǥ??롣
- width
-
- height
- ???ȹ⤵?????ꤹ?롣
- x
-
- y
- x, y ??ɸ?????ꤹ?롣
????¶
?ؿ? XFillRectangle ?????? XFillRectangles ?ϡ?4??
[x,y] [x+width,y] [x+width,y+height] [x,y+height]
?ˤĤ??Ƥ? FillPolygon ?ץ??ȥ????ꥯ?????Ȥ????ꤵ?줿???Τ褦?ˡ????ꤷ??Ĺ????(ñ?????뤤 ??ʣ??)???ɤ??Ĥ֤???
?ɤ????δؿ??⡢???ꤵ?줿 x, y ??ɸ?????ȹ⤵??GC ???Ȥ???
XFillRectangles ???????????????Ƥ???????Ĺ???????ɤ??Ĥ֤??? ?ɤ???Ĺ??????Ϳ???Ƥ⡢ XFillRectangle ?????? XFillRectangles ??1?ĤΥԥ???????1?????褷?ʤ??? Ĺ???????ŤʤäƤ??????硢?ŤʤäƤ?????ʬ??ʣ???????褵???롣
?ɤ????δؿ????ʲ??? GC ?????ݡ??ͥ??Ȥ????Ѥ???: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask?? ???????Ϥޤ????ʲ??? GC ?⡼?ɰ?¸?Υ????ݡ??ͥ??Ȥ????Ѥ???: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin??
XFillRectangle ?????? XFillRectangles ?ϥ??顼 BadDrawable, BadGC, BadMatch ???????Ȥ????롣
XFillPolygon ?ϻ??ꤵ?줿?ѥ????Ĥ????ΰ????ɤ??Ĥ֤??? ?ꥹ?ȤκǸ????????ǽ??????Ȱ??פ??ʤ??????ˤϡ??ѥ??ϼ?ưŪ???Ĥ??????롣 XFillPolygon ?ϡ?????1?ĤΥԥ??????ΰ??ˤĤ???1?????褷?ʤ??? CoordModeOrigin ?Ǥ????Ƥκ?ɸ???????????????а??֤?ɽ???? CoordModePrevious ?Ǥ????Ƥκ?ɸ?????????????????а??֤?ɽ????
???ꤷ?? shape ?ˤ??äƤϡ??ʲ??Τ??Ȥ???????:
- ?⤷ shape ?? Complex ?ʤ??С??ѥ??ϼ??ʴ??Ĥ??뤫?⤷???ʤ??? ?ѥ????????ܤ??????????פ??Ƥ⡢?????ϼ??ʴ??ĤȤ??ư????ʤ???
- shape ?? Convex (????)?ξ????ˤϡ?¿?ѷ?????¦??Ǥ?դ??????ȤˤĤ??ơ??????????Ҥ???ʬ ?ϥѥ??ȴ??Ĥ??ʤ??? ?????ˤʤ뤳?Ȥ饤?????Ȥ??ΤäƤ??????硢 Convex ?????ꤹ?뤳?ȤǸ?Ψ???????뤳?Ȥ??Ǥ??롣 ?????Ǥʤ??ѥ????Ф??? Convex ?????ꤷ?????硢ɽ?????̤?̤?????Ǥ??롣
- shape ?? Nonconvex ?ξ??硢?ѥ??ϼ??ʴ??Ĥ??ʤ????????ʤ餺?????????ǤϤʤ??? ?????饤?????Ȥ??ΤäƤ??????硢 Complex ?Ǥʤ? Nonconvex ?????ꤹ?뤳?Ȥ???????Ψ???夲?뤳?Ȥ??Ǥ??롣 If you specify ?ѥ??????ʴ??Ĥ??Ƥ????????? Nonconvex ?????ꤷ????????ɽ?????̤?̤?????Ǥ??롣
GC ?????? fill-rule ?ϡ????ʴ??Ĥ???¿?ѷ????ɤ??Ĥ֤??ε?ư?????椹?롣
???δؿ??ϰʲ??? GC ?????ݡ??ͥ??Ȥ????Ѥ???: function, plane-mask, fill-style, fill-rule, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask?? ?ޤ????ʲ??? GC ?⡼?ɰ?¸?????ݡ??ͥ??Ȥ????Ѥ???: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin??
XFillPolygon ?ϥ??顼 BadDrawable, BadGC, BadMatch, BadValue ???????Ȥ????롣
???줾???α߸̤??Ф??ơ? XFillArc ?? XFillArcs ?ϻ??ꤷ???߸̤????Ҥ???̵?¤˺٤??ѥ??????ӡ?GC ???ǻ??ꤷ?? arc-mode ?ˤ??äƷ??ޤ?1?Ĥ??뤤??2?Ĥ???ʬ?ˤ??ä??Ĥ????줿?ΰ????ɤ??Ĥ֤??? ArcChord ?ξ????ˤϡ??߸̤?ü?????Ҥ?1?Ĥ???ʬ?????Ѥ????롣 ArcPieSlice ?ξ????ˤϡ??߸̤?ü?????濴????????2?Ĥ???ʬ?????Ѥ????롣 XFillArcs ???????????????Ƥ??????˱߸̤??ɤ??Ĥ֤??? Ϳ?????줿?߸̤??Ф??? XFillArc ?? XFillArcs ??1?Ĥ????줾??1?٤??????褷?ʤ??? ?ɤ??Ĥ֤??ΰ褬?ŤʤäƤ??????硢?ŤʤäƤ????ԥ???????ʣ???????褵?? ?롣
?ɤ????δؿ????ʲ??? GC ?????ݡ??ͥ??Ȥ????Ѥ???: function, plane-mask, fill-style, arc-mode, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask?? ?ޤ??????????δؿ??ϰʲ??? GC ?⡼?ɰ?¸?????ݡ??ͥ??Ȥ????Ѥ???: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin??
XFillArc ?????? XFillArcs ?ϥ??顼 BadDrawable, BadGC, BadMatch ???????Ȥ????롣
?֤???¶
- BadDrawable
- ?????? Drawable ???ͤ????????????Ƥ??? Window ???뤤?? Pixmap ???ؤ??Ƥ? ?ʤ???
- BadGC
- ?????? GContext ???ͤ????????????Ƥ??? GContext ???ؤ??Ƥ??ʤ???
- BadMatch
- InputOnly ???????ɥ??? Drawable ?Ȥ??ƻ??Ѥ??줿??
- BadMatch
- ?????????????????Ȥη????ϰϤ??????????????Υꥯ?????Ȥ??᤹ ??¾?ξ?????Ŭ???Ǥ??ʤ??ä????Τ????롣
- BadValue
- ???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼???????Ȥ? ???롣
??Ϣ????¶
XDrawArc(3X11), XDrawPoint(3X11), XDrawRectangle(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |