Xlib:Module Constants

Xlib module で定義されている定数は次のとおり。 (X: foo)X.h での定数名である。


Graphics function

描画関数

CLEAR
(X: GXclear)
AND
(X: GXand)
AND_REVERSE
(X: GXandReverse)
COPY
(X: GXcopy)
AND_INVERT
(X: GXandInverted)
NOOP
(X: GXnoop)
XOR
(X: GXxor)
OR
(X: GXor)
NOR
(X: GXnor)
EQUIV
(X: GXequiv)
INVERT
(X: GXinvert)
OR_REVERSE
(X: GXorReverse)
COPY_INVERT
(X: GXcopyInverted)
OR_INVERT
(X: GXorInverted)
NAND
(X: GXnand)
SET
(X: GXset)


Line style

LINE_SOLID
(X: LineSolid)
LINE_ON_OFF_DASH
(X: LineOnOffDash)
LINE_DOUBLE_DASH
(X: LineDoubleDash)


Cap style

CAP_NOTLAST
(X: CapNotLast)
CAP_BUTT
(X: CapButt)
CAP_ROUND
(X: CapRound)
CAP_PROJECT
(X: CapProjecting)


Join style

JOIN_MITER
(X: JoinMiter)
JOIN_ROUND
(X: JoinRound)
JOIN_BEVEL
(X: JoinBevel)


Coordinate mode for drawing routines

絶対座標または相対座標

Xlib::COORD_ORIG
絶対座標 (X: CoordModeOrigin)
Xlib::COORD_PREV
相対座標 (X: CoordModePrevious)


Polygon shapes

多角形の形を決める条件

Xlib::POLY_FREE
入り組み許可 (en: paths may intersect) (X: Complex)
Xlib::POLY_NONE
入り組まないが,凸面でもない (en: no paths intersect, but not convex) (X: Nonconvex)
Xlib::POLY_CONVEX
凸面 (en: wholly convex) (X: Convex)
author: Kazuhiro Yoshida