AllPlanes






AllPlanes, BlackPixel, WhitePixel, ConnectionNumber,
DefaultColormap, DefaultDepth, XListDepths, DefaultGC,
DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen,
DefaultVisual, DisplayCells, DisplayPlanes, DisplayString,
XMaxRequestSize, XExtendedMaxRequestSize,
LastKnownRequestProcessed, NextRequest, ProtocolVersion,
ProtocolRevision, QLength, RootWindow, ScreenCount,
ScreenOfDisplay, ServerVendor, VendorRelease −
ãã£ã¹ãã¬ã¤ãã¯ãã¨é¢æ°

AllPlanes

BlackPixel(display, screen_number)

WhitePixel(display, screen_number)

ConnectionNumber(display)

DefaultColormap(display, screen_number)

DefaultDepth(display, screen_number)

int *XListDepths(display, screen_number, count_return)
      Display *display;
      int screen_number;
      int *count_return;

DefaultGC(display, screen_number)

DefaultRootWindow(display)

DefaultScreenOfDisplay(display)

DefaultScreen(display)

DefaultVisual(display, screen_number)

DisplayCells(display, screen_number)

DisplayPlanes(display, screen_number)

DisplayString(display)

long XMaxRequestSize(display)      Display *display;

long XExtendedMaxRequestSize(display)      Display *display;

LastKnownRequestProcessed(display)

NextRequest(display)

ProtocolVersion(display)











                             ‐2‐


ProtocolRevision(display)

QLength(display)

RootWindow(display, screen_number)

ScreenCount(display)

ScreenOfDisplay(display, screen_number)

ServerVendor(display)

VendorRelease(display)



display   X ãµã¼ãã¸ã®æ¥ç¶ãæå®ããã

screen_number
          ãã¹ããµã¼ãä¸ã®é©åãªã¹ã¯ãªã¼ã³çªå·ãæå®ããã

count_return
          æ·±ãã®éåã®è¦ç´ æ°ãè¿ãããã

ãã¯ã AllPlanes ã¯å¨ã¦ã®ãããã1ã«ããæ°ãè¿ãã
ããã¯ãã¬ã¼ã³ãå¼ãæ°ã¨ããé¢æ°ã§ããã¬ã¼ã³ã¨ãã¦ä½¿ããå¤ã«ãªãã

ãã¯ã BlackPixel ã¯æå®ããã¹ã¯ãªã¼ã³ã®é»è²ã®ãã¯ã»ã«å¤ãè¿ãã

ãã¯ã WhitePixel ã¯æå®ããã¹ã¯ãªã¼ã³ã®ç½è²ã®ãã¯ã»ã«å¤ãè¿ãã

ãã¯ã ConnectionNumber ã¯æå®ãããã£ã¹ãã¬ã¤ã¸ã®æ¥ç¶æ°ãè¿ãã

ãã¯ã DefaultColormap
ã¯æå®ããã¹ã¯ãªã¼ã³ã®ããã©ã«ãã«ã©ã¼ãããã®IDãè¿ãã

ãã¯ã DefaultDepth
ã¯ãæå®ããã¹ã¯ãªã¼ã³ã®ããã©ã«ãã®ã«ã¼ãã¦ã£ã³ãã¦ã®æ·±ã
(ãã¬ã¼ã³ã®æ°)ãè¿ãã

é¢æ° XListDepths
ã¯ãæå®ããã¹ã¯ãªã¼ã³ã§å©ç¨ã§ããæ·±ããéåã¨ãã¦è¿ãã æå®ãã
screen_number ãæå¹ãªå¤ã§ããããã¤éåã«ååãªã¡ã¢ãªãå²ãå½ã¦
ããããªãã°ã XListDepths ã¯å©ç¨å¯è½ãªæ·±ãã®æ°ã count_return
ã«è¨å®ããã ããã§ãªãå ´åãcount_return ã¯è¨å®ããããé¢æ°ã¯ NULL
ãè¿ãã æ·±ãã®éåã«å²ãå½ã¦ãããã¡ã¢ãªã解æ¾ããã«ã¯ XFree
ã使ç¨ãããã¨ã

ãã¯ã DefaultGC ã¯ãæå®ããã¹ã¯ãªã¼ã³ã®ã«ã¼ãã¦ã£ã³ãã¦ã®ããã©ã«ãã®
GC ãè¿ãã

ãã¯ã DefaultRootWindow
ã¯æå®ããã¹ã¯ãªã¼ã³ã®ã«ã¼ãã¦ã£ã³ãã¦ãè¿ãã










                             ‐3‐


ãã¯ã DefaultScreenOfDisplay
ã¯æå®ãããã£ã¹ãã¬ã¤ã®ããã©ã«ãã®ã¹ã¯ãªã¼ã³ãè¿ãã

ãã¯ã DefaultScreen ã¯é¢æ° XOpenDisplay
ã§åç§ãããããã©ã«ãã®ã¹ã¯ãªã¼ã³çªå·ãè¿ãã

ãã¯ã DefaultVisual
ã¯æå®ããã¹ã¯ãªã¼ã³ã®ããã©ã«ãã®ãã¸ã¥ã¢ã«åãè¿ãã

ãã¯ã DisplayCells ã¯ããã©ã«ãã®ã«ã©ã¼ãããåã®ã¨ã³ããªã¼æ°ãè¿ãã

ãã¯ã DisplayPlanes
ã¯æå®ããã¹ã¯ãªã¼ã³ã®ã«ã¼ãã¦ã£ã³ãã¦ã®æ·±ããè¿ãã

ãã¯ã DisplayString ã¯ç¾å¨ã®ãã£ã¹ãã¬ã¤ããªã¼ãã³ãããæã«
XOpenDisplay ã«æ¸¡ãããæååãè¿ãã

é¢æ° XMaxRequestSize ã¯ãX
ãµã¼ãã対å¿ãã¦ãããªã¯ã¨ã¹ãã®æ大ãµã¤ãº(4ãã¤ãåä½)ãè¿ãã
ãã®æ大ãµã¤ãºã¯ããªã¯ã¨ã¹ãé·æ¡å¼µãããã³ã«ã¨ã³ã³ã¼ãã£ã³ã°
(extended‐length protocol encoding)ã使ã£ã¦ããªã X ãµã¼ãã«ããã
å¤ã§ããã X ãµã¼ãããªã¯ã¨ã¹ãé·æ¡å¼µãã‐
ãã³ã«ã¨ã³ã³ã¼ãã£ã³ã°ã«å¯¾å¿ãã¦ããªã
ãã°ããã®ãµã¤ãºãè¶ããåä¸ã®ãããã³ã«ãªã¯ã¨ã¹ãã X ãµã¼ãã«å¯¾ãã¦
éã£ã¦ã¯ãªããªãã X ãããã³ã«ã¯ããã®ãµã¤ãºã 4096 ã¦ããã(16384
ãã¤ã)ããå°ãã㯠ãªããªããã¨ãä¿è¨¼ãã¦ããã 次ã®é¢æ°ã«ããã¦ã¯ãXlib
ã¯å¿è¦ã«å¿ãã¦ãã¼ã¿ãè¤æ°ã®ãããã³ã« ãªã¯ã¨ã¹ãã«åå²ãã:
XDrawPoints, XDrawRectangles, XDrawSegments, XFillArcs,
XFillRectangles, XPutImage.

é¢æ° XExtendedMaxRequestSize
ã¯æå®ãããã£ã¹ãã¬ã¤ããªã¯ã¨ã¹ãé·æ¡å¼µãããã³ã«ã¨ã³ã³ã¼ãã£ã³ã°ã«
対å¿ãã¦ããªãå ´åã«ã¯ 0 ãè¿ãã
対å¿ãã¦ããå ´åã«ã¯ããªã¯ã¨ã¹ãé·æ¡å¼µãã‐
ãã³ã«ã¨ã³ã³ã¼ãã£ã³ã°ã使ã X
ãµã¼ãã対å¿ãã¦ããæ大ã®ãªã¯ã¨ã¹ããµã¤ãº(4ãã¤ãåä½)ãè¿ãã Xlib
ã®é¢æ° XDrawLines, XDrawArcs, XFillPolygon, XChangeProperty,
XSetClipRectangles, XSetRegion ã¯ãX
ãµã¼ãããªã¯ã¨ã¹ãé·æ¡å¼µãããã³ã«ã¨ã³ã³ã¼ãã£ã³ã°ã«å¯¾å¿ãã¦ãã
ã°ãå¿è¦ã«å¿ãã¦ãã®ã¨ã³ã³ã¼ãã£ã³ã°ã使ãã Xlib ã®ä»ã®é¢æ°(ä¾ãã°
XDrawPoints, XDrawRectangles, XDrawSegments, XFillArcs,
XFillRectangles, XPutImage)
ã§ã¯ããã®ã¨ã³ã³ã¼ãã£ã³ã°ã®ä½¿ç¨ã¯èªãããã¦ãããå¿é ã§ã¯ãªãã Xlib
ã®å®è£ã«ããã¦ã¯ããã®ã¨ã³ã³ã¼ãã£ã³ã°ã使ããªãã§ãã¼ã¿ã
è¤æ°åã®å°ããªãªã¯ã¨ã¹ãã«åå²ãã¦ãããã

ãã¯ã LastKnownRequestProcessed ã¯ãX ãµã¼ããå¦çãããã¨ã Xlib
ãèªèãã¦ããæå¾ã® ãªã¯ã¨ã¹ãã®å®å¨ãªã·ãªã¢ã«çªå·ãåãåºãã

ãã¯ã NextRequest
ã¯æ¬¡ã®ãªã¯ã¨ã¹ãã«ä½¿ãããå®å¨ãªã·ãªã¢ã«çªå·ãåãåºãã

ãã¯ã ProtocolVersion ã¯æ¥ç¶åã®ãã£ã¹ãã¬ã¤ã«ããã X ãã‐
ãã³ã«ã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³çªå· (11)ãè¿ãã









                             ‐4‐


ãã¯ã ProtocolRevision 㯠X ãµã¼ãã®ãã‐
ãã³ã«ã®ãã¤ãã¼ãªãã¸ã§ã³çªå·ãè¿ãã

ãã¯ã QLength ã¯æ¥ç¶åã®ãã£ã¹ãã¬ã¤ã«ãããã¤ãã³ããã¥ã¼ã®é·ããè¿ãã

ãã¯ã RootWindow ã¯ã«ã¼ãã¦ã£ã³ãã¦ãè¿ãã

ãã¯ã ScreenCount ã¯å©ç¨å¯è½ãªã¹ã¯ãªã¼ã³ã®æ°ãè¿ãã

ãã¯ã ScreenOfDisplay
ã¯æå®ãããã£ã¹ãã¬ã¤ã®ã¹ã¯ãªã¼ã³ã¸ã®ãã¤ã³ã¿ãè¿ãã

ãã¯ã ServerVendor ã¯ãX ãµã¼ãã®å®è£èãèå¥ã§ãããããªæå‐
åã¸ã®ãã¤ã³ã¿ãè¿ãã ãã®æååã®çµç«¯ã¯ NULL ã§ããã

ãã¯ã VendorRelease ã¯ããã³ãã«ãã X
ãµã¼ãã®ãªãªã¼ã¹ã«ã¤ãã¦ã®çªå·ãè¿ãã

BlackPixelOfScreen(3X11), ImageByteOrder(3X11),
IsCursorKey(3X11), XOpenDisplay(3X11)
Xlib − C Language X Interface