XTranslateCoordinates(3X11) | XLIB FUNCTIONS | XTranslateCoordinates(3X11) |
̾??¶
XTranslateCoordinates - ???????ɥ???ɸ???Ѵ?????
????¶
Bool XTranslateCoordinates(display, src_w,
dest_w, src_x, src_y, dest_x_return,
dest_y_return, child_return)
Display *display;
Window src_w, dest_w;
int src_x, src_y;
int *dest_x_return, *dest_y_return;
Window *child_return;
??????¶
- child_return
- ??ɸ???оݥ??????ɥ??Υޥåפ????Ƥ????ҥ??????ɥ??˴ޤޤ??????硢???? ?ҥ??????ɥ????֤????롣
- dest_w
- ?оݥ??????ɥ??????ꤹ?롣
- dest_x_return
-
- dest_y_return
- ?оݥ??????ɥ??????Ǥ? x, y ??ɸ???֤????롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- src_w
- ?????????????ɥ??????ꤹ?롣
- src_x
-
- src_y
- ?????????????ɥ??????Ǥ? x, y ??ɸ?????ꤹ?롣
????¶
XTranslateCoordinates ?? True ???֤??????硢???δؿ??ϥ????????????ɥ??θ??????Ф??? src_x, src_y ??ɸ?????????ꡢ???κ?ɸ???оݥ??????ɥ??θ??????Ф??? dest_x_return, dest_y_return ?Ȥ????֤??? XTranslateCoordinates ?? False ???֤??????硢src_w ?? dest_w ?ϰۤʤ륦?????ɥ????ˤ??ꡢ dest_x_return ?? dest_y_return ?ˤ? 0 ?????ꤵ???롣 ?⤷????ɸ?? ???????ɥ? dest_w ?Υޥåפ????Ƥ????ҥ??????ɥ??˴ޤޤ? ?Ƥ??????硢???λҥ??????ɥ??? chile_return ???֤????롣 ?????Ǥʤ????? chile_return ?ˤ? None ?????ꤵ???롣
XTranslateCoordinates ?ϥ??顼 BadWindow ???????Ȥ????롣
?֤???¶
- BadWindow
- ?????? Window ???ͤ????????????Ƥ??? Window ???ؤ??Ƥ??ʤ???
??Ϣ????¶
Xlib - C Language X Interface
Release 6.5 | X Version 11 |