XSHAPE(3XEXT) — NEWS-OS Programmer’s Manual
名称
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;/∗ SendEvent リクエストからなら真 ∗/
Display ∗display;/∗ イベントを読み込んだディスプレイ ∗/
Window window;/∗ イベンド ウィンドウ ∗/
int kind;/∗ ShapeBounding または ShapeClip ∗/
int x, y;/∗ 新領域のサイズ ∗/
unsigned width, height;
Time time;/∗ 領域変更時のサーバタイムスタンプ ∗/
Bool shaped;/∗ 指定領域があれば真 ∗/
} XShapeEvent;
解説
X11 Nonrectangular Window Shape Extension は X ウィンドウシステムに非矩形ウィンドウを加えます。
定義値
操作:
ShapeSet
ShapeUnion
ShapeIntersect
ShapeSubtract
ShapeInvert
ウィンドウの種類:
ShapeBounding
ShapeClip
イベント定義:
ShapeNotifyMask
ShapeNotify
バグ
本マニュアルが未完成。
関連事項
X11 Nonrectangular Window Shape Extension
NEWS-OSRelease 4.2.1R