Scroll to navigation

XCreatePixmap(3X11) XLIB FUNCTIONS XCreatePixmap(3X11)

̾??

XCreatePixmap, XFreePixmap - ?ԥå????ޥåפ??????ޤ????˴?????

????

Pixmap XCreatePixmap(display, d, width, height, depth)
Display *display;
Drawable d;
unsigned int width, height;
unsigned int depth;

XFreePixmap(display, pixmap)
Display *display;
Pixmap pixmap;

??????

?ԥå????ޥåפ??????????????Υ????꡼???????ꤹ?롣
?ԥå????ޥåפο????????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
?ԥå????ޥåפ????ꤹ?롣

???ȹ⤵?????ꤹ?롣 ?????ͤϥԥå????ޥåפΥǥ????󥸥????????????롣

????

?ؿ? XCreatePixmap ?ϻ??ꤷ???????⤵???????Υԥå????ޥåפ??????????????????դ˼??? ?ԥå????ޥå?ID???֤??? ?????? drawble ?ˤ? InputOnly ?Υ??????ɥ????Ϥ??Ƥ??褤?? ???????ɥ??ι⤵?????? 0 ?ʳ????ͤǤʤ????Фʤ??ʤ??? ?????Ǥʤ??????ˤϥ??顼 BadValue ?Ȥʤ롣 ?????? depth ?ϡ????ꤷ???ɥ??????֥??Υ????꡼?󤬥??ݡ??Ȥ??Ƥ??뿼???? ?????Τ????줫?Ǥʤ????Фʤ??ʤ????????Ǥʤ??????ˤϡ????顼 BadValue ?Ȥʤ롣

X ?????Фϡ??ɤΥ????꡼?????˥ԥå????ޥåפ????????뤫???ꤹ?뤿?ᡢ ???????ǻ??ꤵ?줿?ɥ??????֥??????Ѥ??롣 ???Υԥå????ޥåפ?¾?Υ????꡼?????ǤϻȤ??ʤ????ޤ????ۤʤ뿼?????? ?ĥɥ??????֥??ȶ??˻Ȥ????ȤϤǤ??ʤ?(???ε?§???㳰?ˤĤ??Ƥ? XCopyPlane ?򻲾ȤΤ???)?? ?ԥå????ޥåפ????Ƥν??????֤?̤?????Ǥ??롣

XCreatePixmap ?ϥ??顼 BadAlloc, BadDrawable, BadValue ?򵯤??????Ȥ????롣

?ؿ? XFreePixmap ?Ϻǽ??˥ԥå????ޥå?ID?ȥԥå????ޥåפδط??????????롣 ???? X ?????Фϥԥå????ޥåפؤλ??Ȥ?̵???ʤä????ˡ??ԥå????ޥå? ?Υ??????ΰ??????????롣 ?ʹߤϤ??Υԥå????ޥåפ򻲾Ȥ??ƤϤʤ??ʤ???

XFreePixmap ?ϥ??顼 BadPixmap ?򵯤??????Ȥ????롣

?֤???

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

??Ϣ????

XCopyArea(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11