XTextWidth
Section: XLIB FUNCTIONS (3X11)
Updated: Release 6.6
索引
xjman
名前
XTextWidth, XTextWidth16 - テキストの幅を計算する
書式
int XTextWidth(font_struct, string, count)
XFontStruct *font_struct;
char *string;
int count;
int XTextWidth16(font_struct, string, count)
XFontStruct *font_struct;
XChar2b *string;
int count;
引き数
- count
-
指定した文字列中の文字数を指定する。
- font_struct
-
幅の計算に使用するフォントを指定する。
- string
-
文字列を指定する。
説明
関数
XTextWidth
と
XTextWidth16
は指定した8ビットあるいは2バイト文字の文字列の幅を返す。
関連項目
XLoadFont(3X11),
XTextExtents(3X11)
Xlib - C Language X Interface
Index
- 名前
-
- 書式
-
- 引き数
-
- 説明
-
- 関連項目
-
Time: 07:00:55 GMT, January 12, 2009