XSHAPE

Section: X FUNCTIONS (3X11)
Updated: Release 6.6
索引 xjman
 

名前

XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRegion, XShapeCombineRectangles, XShapeCombineMask, XShapeCombineShape, XShapeOffsetShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, XShapeGetRectangles - X の非矩形ウィンドウ関数  

書式


#include <X11/extensions/shape.h>

Bool XShapeQueryExtension (
        Display *dpy, 
        int *event_basep, 
        int *error_basep);

Status XShapeQueryVersion (
        Display *dpy, 
        int *major_versionp, 
        int *minor_versionp);

void XShapeCombineRegion (
        Display *dpy, 
        Window dest, 
        int destKind, 
        int xOff, 
        int yOff, 
        struct _XRegion *r, 
        int op);

void XShapeCombineRectangles (
        Display *dpy, 
        XID dest, 
        int destKind, 
        int xOff, 
        int yOff, 
        XRectangle *rects, 
        int n_rects, 
        int op, 
        int ordering);

void XShapeCombineMask (
        Display *dpy, 
        XID dest, 
        int destKind, 
        int xOff, 
        int yOff, 
        Pixmap src, 
        int op);

void XShapeCombineShape (
        Display *dpy, 
        XID dest, 
        int destKind, 
        int xOff, 
        int yOff, 
        Pixmap src, 
        int srcKind, 
        int op);

void XShapeOffsetShape (
        Display *dpy, 
        XID dest, 
        int destKind, 
        int xOff, 
        int yOff);

Status XShapeQueryExtents (
        Display *dpy, 
        Window window, 
        int *bShaped, 
        int *xbs, 
        int *ybs, 
        unsigned int *wbs, 
        unsigned int *hbs, 
        int *cShaped, 
        int *xcs, 
        int *ycs, 
        unsigned int *wcs, 
        unsigned int *hcs);

void XShapeSelectInput (
        Display *dpy, 
        Window window, 
        unsigned longmask);

unsigned long XShapeInputSelected (
        Display *dpy, 
        Window window);

XRectangle *XShapeGetRectangles (
        Display *dpy, 
        Window window, 
        int kind, 
        int *count, 
        int *ordering);
 

構造体



typedef struct {
    int type;                 
    unsigned long serial;     
    Bool send_event;          
    Display *display;         
    Window window;            
    int kind;                 
    int x, y;                 
    unsigned width, height;
    Time time;                
    Bool shaped;              
} XShapeEvent;
 

説明

X11 の非矩形ウィンドウ形状拡張(X11 Nonrectangular Window Shape Extension)は、X ウィンドウシステムで非矩形ウィンドウを利用可能にする。  

既定値

操作:

ShapeSet
ShapeUnion
ShapeIntersect
ShapeSubtract
ShapeInvert

形状の種類:


ShapeBounding
ShapeClip

イベント定義:


ShapeNotifyMask
ShapeNotify
 

バグ

このマニュアルページにはもっと手を加える必要がある。  

関連項目

X11 Nonrectangular Window Shape Extension


 

Index

名前
書式
構造体
説明
既定値
バグ
関連項目

jman



Time: 07:00:55 GMT, January 12, 2009