Scroll to navigation

XmbTextExtents(3X11) XLIB FUNCTIONS XmbTextExtents(3X11)

̾??

XmbTextExtents, XwcTextExtents, Xutf8TextExtents - ?ƥ????Ȥ??礭?????׻?????

????

int XmbTextExtents(font_set, string, num_bytes, overall_ink_return, overall_logical_return)
XFontSet font_set;
char *string;
int num_bytes;
XRectangle *overall_ink_return;
XRectangle *overall_logical_return;

int XwcTextExtents(font_set, string, num_wchars, overall_ink_return, overall_logical_return)
XFontSet font_set;
wchar_t *string;
int num_wchars;
XRectangle *overall_ink_return;
XRectangle *overall_logical_return;

int Xutf8TextExtents(font_set, string, num_bytes, overall_ink_return, overall_logical_return)
XFontSet font_set;
char *string;
int num_bytes;
XRectangle *overall_ink_return;
XRectangle *overall_logical_return;

??????

?ե????ȥ??åȤ????ꤹ?롣
?????? string ?ΥХ??ȿ??????ꤹ?롣
?????? string ??ʸ?????????ꤹ?롣
???褵?????ΰ??Υǥ????󥸥??????֤????롣
????Ū?ʥǥ????󥸥??????֤????롣
ʸ?????????ꤹ?롣

????

?ؿ? XmbTextExtents, XwcTextExtents, Xutf8TextExtents ?ϻ??ꤵ?줿?????? overall_ink_return ??ʸ?????β??????᡼???? ?Х????ǥ??󥰥ܥå???????overall_logical_return ?ˤ?????Ū?? ?Х????ǥ??󥰥ܥå??????礭???????ꤹ?롣 ???????ϥƥ????Ȥδֳ?Ĵ?????Ѥ??????롣 ?????????ͤϡ? XmbTextEscapement, ?? XwcTextEscapement, Xutf8TextEscapement ?ˤ??ä??֤????롣 ??????????ˡ?ͤ?ʸ???????????θ????????????а??֤Ǥ??ꡢ???ꤵ?줿 ?ե????ȥ??åȤ??Ф??ƸƤӽФ??줿?ե????Ȥ??Ѥ??Ʒ׻??????롣

?????? overall_ink_return ?? NULL ?Ǥʤ????硢?????ˤ?ʸ???󤬼ºݤ????? ???????ϰϤΥХ????ǥ??󥰥ܥå????????ꤵ???롣 ???????˿ʤޤ?????ʿ?????褵???? Latin ʸ?????Ф??? overall_ink_return ?ϡ?????Ū?˴????˥١????饤???ξ??Ȥʤ롣 ?Ĥޤꡢoverall_ink_return.height <= -overall_ink_return.y ?Ǥ??롣 ?????˥󥰤????ʤ?ʸ?????Ф??? overall_ink_return ?ϡ??????˸????Ȥ??? ???걦????ʬ?ˤʤ롣 ?Ĥޤꡢoverall_ink_return.x >= 0 ?Ǥ??롣 ????????ñ?ȥԥ????뤫???ʤ?ʸ???ξ????ˤϡ?overall_ink_return ?? y = 0, x = 0, width = 1, and height = 1 ?Ȥʤ롣

overall_logical_return ?? NULL ?Ǥʤ??????ˤϡ??????Ϥ???ʸ???????Ф? ??¾?Υ????ե??????ե????????ؤκǾ????ڡ????󥰤?Ϳ?????Х????ǥ????? ?ܥå????????ꤵ???롣 ¾?Υ????ե??????ե???????(?㤨?Хƥ????Ȥ??Ϥත????)?ϡ?????Ĺ?????? ?򺹤??ƤϤʤ??ʤ???

XFontSet ??¸?ߤ??ʤ?ʸ?????礬?????????ˤϡ??????Υƥ????Ȥ??ºݤ????褵?????? ????ˡ??ɽ???褦?ˡ???????????ʸ?????Ф?????ˡ?? XCreateFontSet ???֤??ǥե?????ʸ???󤫤????롣 ??????ʸ???????ɤ??Ф???ư????̤?????Ǥ??롣

?ؿ? Xutf8TextExtents ?? XFree86 4.0.2 ????Ƴ?????줿 XFree86 ?ȼ??γ?ĥ?Ǥ??롣???δؿ??? ???뤫?ɤ????ϥޥ??? X_HAVE_UTF8_STRING ??Ƚ???Ǥ??롣

??Ϣ????

XmbTextEscapement(3X11), XmbTextPerCharExtents(3X11) Xlib - C Language X Interface

Release 6.5 X Version 11