Scroll to navigation

XSetState(3X11) XLIB FUNCTIONS XSetState(3X11)

̾??

XSetState, XSetFunction, XSetPlanemask, XSetForeground, XSetBackground - GC ?ʰ״ؿ?

????

XSetState(display, gc, foreground, background, function, plane_mask)
Display *display;
GC gc;
unsigned long foreground, background;
int function;
unsigned long plane_mask;

XSetFunction(display, gc, function)
Display *display;
GC gc;
int function;

XSetPlaneMask(display, gc, plane_mask)
Display *display;
GC gc;
unsigned long plane_mask;

XSetForeground(display, gc, foreground)
Display *display;
GC gc;
unsigned long foreground;

XSetBackground(display, gc, background)
Display *display;
GC gc;
unsigned long background;

??????

???ꤷ?? GC ?˥??åȤ????طʿ??????ꡣ
X ?????Фؤ???³?????ꡣ
???ꤷ?? GC ?˥??åȤ??????ʿ??????ꡣ
???ꤷ?? GC ?˥??åȤ??? function ?????ꡣ
GC ?????ꡣ
?ץ졼???ޥ????????ꡣ

????

?ؿ? XSetState ?ϻ??ꤷ?? GC ?????ʿ????طʿ????ץ졼???ޥ?????function ?????ݡ??ͥ? ?Ȥ????ꤹ?롣

XSetState ?ϥ??顼 BadAlloc, BadGC, BadValue ?򵯤??????Ȥ????롣

XSetFunction ?ϻ??ꤷ?? GC ?˻??ꤷ???ͤ򥻥åȤ??롣

XSetFunction ?ϥ??顼 BadAlloc, BadGC, BadValue ?򵯤??????Ȥ????롣

?ؿ? XSetPlaneMask ?ϻ??ꤷ??GC?˥ץ졼???ޥ????򥻥åȤ??롣

XSetPlaneMask ?ϥ??顼 BadAlloc, BadGC ?򵯤??????Ȥ????롣

?ؿ? XSetForeground ?ϻ??ꤷ?? GC ?????ʿ??򥻥åȤ??롣

XSetForeground ?ϥ??顼 BadAlloc, BadGC ?򵯤??????Ȥ????롣

?ؿ? XSetBackground ?ϻ??ꤷ?? GC ???طʿ??򥻥åȤ??롣

XSetBackground ?ϥ??顼 BadAlloc, BadGC ?򵯤??????Ȥ????롣

?֤???

?׵ᤵ?줿?꥽?????䥵???Х??????γ??????Ƥ˥????Ф????Ԥ?????
?????? GContext ???ͤ????????????Ƥ??? GContext ???ؤ??Ƥ??ʤ???
???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼?򵯤??????Ȥ? ???롣

??Ϣ????

XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11), XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetFont(3X11), XSetLineAttributes(3X11), XSetTile(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11