XDrawPoint(3X11) | XLIB FUNCTIONS | XDrawPoint(3X11) |
̾??¶
XDrawPoint, XDrawPoints, XPoint - ???????衢????ɽ????¤??
????¶
XDrawPoint(display, d, gc, x,
y)
Display *display;
Drawable d;
GC gc;
int x, y;
XDrawPoints(display, d, gc, points,
npoints, mode)
Display *display;
Drawable d;
GC gc;
XPoint *points;
int npoints;
int mode;
??????¶
????¶
?ؿ? XDrawPoint ?? GC ???????ʿ??? function ?????ݡ??ͥ??Ȥ????Ѥ??ơ????ꤷ???ɥ????? ?֥???????1?????褹?롣 XDrawPoints ??Ʊ?ͤ?ʣ???????????褹?롣 CoordModeOrigin ?????ꤷ???????ˤ????Ƥκ?ɸ?ϸ????????????к?ɸ?Ȥʤꡢ CoordModePrevious ?????ꤷ???????ˤϺǽ????????????????Ƥκ?ɸ?????????ΰ??֤????????к? ɸ?Ȥʤ롣 XDrawPoints ?ϡ??????????äƤ??????????????褹?롣
?ɤ????δؿ????ʲ??? GC ?????ݡ??ͥ??Ȥ????Ѥ??롣 function, plane-mask, foreground, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask.
XDrawPoint ?ϥ??顼 BadDrawable, BadGC, BadMatch ???????Ȥ????롣 XDrawPoints ?ϥ??顼 BadDrawable, BadGC, BadMatch, BadValue ???????Ȥ????롣
??¤??¶
XPoint ??¤?Τ????Ƥ???
typedef struct { short x, y; } XPoint;
???Ƥ? x, y ?????Ф??????դ??????Ǥ??롣 width, height ?????Ф?16?ӥåȤ?????̵???????Ǥ??롣 ?ץ??ȥ????ǤϤ????????ͤ?16?ӥåȤΥե??????ɤ????????ʤ??Τǡ?16?ӥ? ?Ȥ??ϰϤ??ۤ?????ɸ?䥵?????????????ʤ??褦???դ??ʤ????Фʤ??ʤ???
?֤???¶
- BadDrawable
- ?????? Drawable ???ͤ????????????Ƥ??? Window ?? Pixmap ???ؤ??Ƥ??ʤ???
- BadGC
- ?????? GContext ???ͤ????????????Ƥ??? GContext ???ؤ??Ƥ??ʤ???
- BadMatch
- InputOnly ?Υ??????ɥ????ɥ??????֥??Ȥ??ƻ??ꤵ?줿??
- BadMatch
- ?????????????????Ȥ????????????ϰϤ????äƤ??뤬?????Υꥯ?????Ȥ??᤹?? ¾?ξ?????Ŭ???Ǥ??ʤ??ä???
- BadValue
- ???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼???????Ȥ? ???롣
??Ϣ????¶
XDrawArc(3X11), XDrawLine(3X11), XDrawRectangle(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |