Scroll to navigation

XmbDrawText(3X11) XLIB FUNCTIONS XmbDrawText(3X11)

̾??

XmbDrawText, XwcDrawText, Xutf8DrawText - ʣ???Υե????ȥ??åȤ??Ѥ??ƥƥ????Ȥ????褹??

????

void XmbDrawText(display, d, gc, x, y, items, nitems)
Display *display;
Drawable d;
GC gc;
int x, y;
XmbTextItem *items;
int nitems;

void XwcDrawText(display, d, gc, x, y, items, nitems)
Display *display;
Drawable d;
GC gc;
int x, y;
XwcTextItem *items;
int nitems;

void Xutf8DrawText(display, d, gc, x, y, items, nitems)
Display *display;
Drawable d;
GC gc;
int x, y;
XmbTextItem *items;
int nitems;

??????

?ɥ??????֥??????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
GC ?????ꤹ?롣
?ƥ????Ȥ??????????ꤹ?롣
???????Υƥ????Ȥο??????ꤹ?롣

x, y ??ɸ?????ꤹ????

????

?ؿ? XmbDrawText, XwcDrawText, Xutf8DrawText ?ϥƥ?????ʸ?????֤?ʣ???ʥ??ڡ????󥰤ȥե????ȥ??åȤ????ܤ???ǽ?Ǥ? ?롣 ?ƥƥ????ȥ????ƥ?(text item)?Ͻ??֤˽??????졢?ƥ????????Ǥθ????????Υƥ????ȥ? ???ƥ???ʸ????????ʬ??????????????(primary draw direction)?˰?ư???롣 ?ƥ????ȥ????ƥ???ɽ????¤?Τ? delta ???Ǥϡ??ƥ????ȥ????ƥ????????? ?????μ??????????ؤ??ɲä?ʸ???????̤????ꤹ?롣 ?ƥ????ȥ????ƥ๽¤?Τ? font_set ?????Ф? None ?ʳ??ξ????ˤϡ?text_items ?ꥹ?ȤΤ??Υ????ƥ??ʹߤ??????ˤ??Υե??? ?ȥ??åȤ????Ѥ????롣 ??Ƭ?Υƥ????ȥ????ƥ??? font_set ?????Ф? None ?Ǥ????????ˤϡ??????ϼ¹Ԥ????ʤ???

XmbDrawText, XwcDrawText, Xutf8DrawText ?ϥƥ????ȥ????????ȴ֤ǤΥ????ƥ????Ȥ˰?¸?????????ϹԤ??ʤ??? ???饤?????Ȥϥƥ????ȥ????????Ȥ? XmbTextExtents, XwcTextExtents, Xutf8TextExtents ???뤤?? XmbTextPerCharExtents, XwcTextPerCharExtents, Xutf8TextPerCharExtents ???Ϥ????Ȥˤ??ä??????ΰ?????ˡ???׻??Ǥ??롣 XFontSet ?˷礱?Ƥ???ʸ?????礬?????????ˤϡ?????????ʸ???? XCreateFontSet ???֤??ǥե?????ʸ?????????褵???롣 ??????ʸ???????ɤ??Ф?????ư??̤?????Ǥ??롣

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

??¤??

XmbTextItem ??¤?Τ????Ƥ??ʲ??˼?????

typedef struct {
	char *chars;	
	int nchars;	
	int delta;	
	XFontSet font_set; 	
} XmbTextItem;


XwcTextItem ??¤?Τ????Ƥ򼨤???

typedef struct {
	wchar_t *chars;	
	int nchars;	
	int delta;	
	XFontSet font_set;	
} XwcTextItem;


??Ϣ????

XDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11), XmbDrawImageString(3X11), XmbDrawString(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11