Scroll to navigation

XEVI(3X11) X FUNCTIONS XEVI(3X11)

̾??

XeviQueryExtension, XeviQueryVersion, XeviGetVisualInfo - X ?γ?ĥ?ӥ??奢???????򰷤??ؿ???

????

#include <X11/extensions/XEVI.h>

Bool XeviQueryExtension (Display *dpy);

Bool XeviQueryVersion (Display *dpy,
int *major_version_return,
int *minor_version_return);

int XeviGetVisualInfo (Display *dpy, VisualID *visual,
int n_visual, ExtendedVisualInfo ** evi_return,
int * n_info_return);

????

X11 Extended Visual Information ??ǽ??ĥ(EVI ??ǽ??ĥ)???Ѥ????ȡ? ???饤?????Ȥϥ????? X ?ӥ??奢???˴ؤ??????????? ?????ץ??ȥ??뤬?󶡤??????????ܤ??????뤳?Ȥ??Ǥ??롣

EVI ???ץꥱ?????????ץ??????ߥ󥰥饤?֥????ϸ??Ҥ??륤?󥿥ե??????? ???ġ? XeviQueryExtension ?????????????δؿ??Τ????줫?? EVI ??ǽ??ĥ???б????Ƥ??ʤ? ?ǥ????ץ쥤?ˤĤ??ƸƤӽФ??줿???硢 ExtensionErrorHandler (???Υϥ??ɥ??? XSetExtensionErrorHandler ???Ȥä??????Ǥ??롣??????ˡ?? XSetErrorHandler ??Ʊ?ͤǤ???)???ƤӽФ????ơ????δؿ??Ϥ??줫?????????롣

XeviQueryExtension ?ϡ????ꤵ?줿?ǥ????ץ쥤?? EVI ??ǽ??ĥ???б????Ƥ????? True ???֤??? ???饤?????Ȥ?¾?? EVI ?ؿ????ƤӽФ????? XeviQueryExtension ???ƤӽФ??ơ??ץ??ȥ????ΥС??????󤬸ߴ????ɤ???????ǧ???ʤ????Фʤ? ?ʤ????????Ǥʤ??????Υ??饤?????Ȥ?ư????̤?????Ǥ???(EVI ??ư??? ???⤷???ʤ?????ư??ʤ????⤷???ʤ?)??

XeviQueryVersion ?ϥꥯ?????Ȥ??????????? True ???֤??????ξ??硢?????Ф????ݡ??Ȥ??Ƥ????ץ??ȥ????Υ᥸?㡼?С??????? ?ȥޥ??ʡ??С??????????ͤ? major_version_return ?? minor_version_return ???֤????롣

XeviGetVisualInfo ?? ExtendedVisualInfo ??¤?ΤΥꥹ?Ȥ??֤??????ι?¤?Τϡ? ?????ץ??ȥ??뤬?б????Ƥ??????????ܤ????ӥ??奢?????????ݻ????Ƥ??롣 ???ι?¤?Τϡ??????С??쥤?䥢???????쥤?ץ졼?????б????Ƥ??륷???ƥ? ?ǻȤ????쥤???????䡢ʣ?????顼?ޥåפ˴ؤ????ϡ??ɥ??????б??Υ??٥? ?򥢥ץꥱ????????¦????Ĵ?٤뤳?Ȥ???ǽ?ˤʤ??????ʤɤ????äƤ??롣 XeviGetVisualInfo ???????????? Success ???֤??????Ԥ????? X ???顼?Ȥʤ롣 ?????? visual ?? NULL ?ξ??硢???δؿ??????ƤΥ????꡼???????ƤΥӥ??奢???˴ؤ??? ???????֤??? ?????Ǥʤ??????ϡ???ĥ?ӥ??奢????????Ĵ?٤????ӥ??奢???Υꥹ?Ȥؤ? ?ݥ??󥿤????ꤹ?뤳?ȡ? n_visual ?ϥӥ??奢?????????????ǿ??Ǥ??롣 evi_return ?? ExtendedVisualInfo ?Υꥹ?ȤؤΥݥ??󥿤??֤????롣???Ѹ??ˤϡ? ???饤?????Ȥ? XFree ???Ȥäƥꥹ?Ȥ????????ʤ????Фʤ??ʤ??? n_info_return ?ˤϡ????? evi_return ???????ǿ????֤????롣

ExtendedVisualInfo ??¤?Τϰʲ??˼????ե??????ɤ?????:

VisualID	core_visual_id    
int 	screen	    	
int 	level 	    	
unsigned int	transparency_type 
unsigned int	transparency_value 
unsigned int	min_hw_colormaps
unsigned int	max_hw_colormaps
unsigned int	num_colormap_conflicts
VisualID *  	colormap_conflicts

ID core_visual_id ???ֹ? screen ???ȹ礻?ϡ????ι?¤?Τ????Ҥ????ӥ??奢???????դ˻??ꤹ?롣

level ?ˤϥӥ??奢???Υ??٥??ֹ椬?֤????롣0 ???̾??Υץ졼????0 ?????礭?? ?ͤϥ????С??쥤??0 ̤?????ͤϥ????????쥤??ɽ????

transparency_type ?ˤϥӥ??奢?뤬???ݡ??Ȥ???Ʃ???Υ????פ??֤????롣 Ʃ???ԥ????뤬?Ȥ??ʤ????? XEVI_TRANSPARENCY_NONE ?Ǥ??ꡢ ?ӥ??奢?뤬Ʃ???ԥ????????б????Ƥ????? XEVI_TRANSPARENCY_PIXEL ?Ǥ??ꡢ ?ӥ??奢?뤬Ʃ???ץ졼?????б????Ƥ????? XEVI_TRANSPARENCY_MASK ?Ǥ??롣

transparency_value ?ˤ?Ʃ?????֤?ɽ???ԥ???????/?ץ졼???ͤ??֤????롣?????? transparency_type ?? XEVI_TRANSPARENCY_NONE ?ξ????Ͻ?????

min_hw_colormaps ?? max_hw_colormaps ?ˤϡ??ӥ??奢?????Хå????åפ????ϡ??ɥ????????顼?ޥåפκǾ??ͤ? ?????ͤ??֤????롣

num_colormap_conflicts ?ˤ? colormap_conflicts ?????ǿ????֤????롣 ?????????ˤϡ??ϡ??ɥ????????顼?ޥåפȻ??Ѥ??֤Ĥ??뤫?⤷???ʤ? ?ӥ??奢???Υꥹ?Ȥ??֤????롣?㤨?С?12 ?ӥåȤΥϡ??ɥ????? ???顼?ޥåפ?̵???? 8 ?ӥåȤΥ??顼?ޥåפ??б??????褦?Ȥ??????硢 ?????????????? 8 ?ӥåȤΥӥ??奢?뤬 12 ?ӥåȤΥӥ??奢???Ȥ֤Ĥ??? ????????

???顼

XeviGetVisualInfo ???????ʥӥ??奢?? ID ???Ϥ??????? BadValue ???֤????ޤ? X ?????Ф????????ʤ??? BadAccess ???֤??????????γ??????Ƥ˼??Ԥ????? BadAlloc ???֤???

Release 6.5 X Version 11