Scroll to navigation

XIntersectRegion(3X11) XLIB FUNCTIONS XIntersectRegion(3X11)

̾??

XIntersectRegion, XUnionRegion, XUnionRectWithRegion, XSubtractRegion, XXorRegion, XOffsetRegion, XShrinkRegion - ?꡼?????????׻?????

????

XIntersectRegion(sra, srb, dr_return)
Region sra, srb, dr_return;

XUnionRegion(sra, srb, dr_return)
Region sra, srb, dr_return;

XUnionRectWithRegion(rectangle, src_region, dest_region_return)
XRectangle *rectangle;
Region src_region;
Region dest_region_return;

XSubtractRegion(sra, srb, dr_return)
Region sra, srb, dr_return;

XXorRegion(sra, srb, dr_return)
Region sra, srb, dr_return;

XOffsetRegion(r, dx, dy)
Region r;
int dx, dy;

XShrinkRegion(r, dx, dy)
Region r;
int dx, dy;

??????

??Ū?Υ꡼?????????֤????롣
?׻????̤??֤????롣

x, y ??ɸ?????ꤹ?롣 ?????ϻ??ꤷ???꡼???????ΰ?ư???̾????̤????????롣
?꡼???????????ꤹ?롣
Ĺ?????????ꤹ?롣

?׻????оΤˤ????꡼???????? 2 ?Ļ??ꤹ?롣
?׻??˻Ȥ????Υ꡼???????????ꤹ?롣

????

?ؿ? XIntersectRegion ?? 2 ?ĤΥ꡼???????δ?????ʬ???׻????롣

?ؿ? XUnionRegion ?? 2 ?ĤΥ꡼?????????½??????׻????롣

?ؿ? XUnionRectWithRegion ?ϡ????ꤷ??Ĺ?????Ȼ??ꤷ?????Υ꡼?????????½??????Ȥä??оݤ? ?꡼???????򹹿????롣

?ؿ? XSubtractRegion sra ???? srb ???????????η??̤? dr_return ?˳?Ǽ???롣

?ؿ? XXorRegion ?ϡ?2 ?ĤΥ꡼???????½????ȴ?????ʬ?κ?ʬ???׻????롣

?ؿ? XOffsetRegion ?ϻ??ꤷ???꡼???????????ꤷ???̤?????ư?????롣

?ؿ? XShrinkRegion ?ϻ??ꤷ???꡼???????????ꤷ???̤????̾????롣 ?????ͤξ????ϥ꡼???????Υ??????Ͻ̾????졢?????ͤξ????ϥ꡼???????? ???礵???롣

??Ϣ????

XCreateRegion(3X11), XDrawRectangle(3X11), XEmptyRegion(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11