XmbTextEscapement

Section: XLIB FUNCTIONS (3X11)
Updated: Release 6.3
Index xjman/web INDEX
 

名前

XmbTextEscapement, XwcTextEscapement - テキストの幅を得る  

書式

int XmbTextEscapement(font_set, string, num_bytes)

      XFontSet font_set;

      char *string;

      int num_bytes;

int XwcTextEscapement(font_set, string, num_wchars)

      XFontSet font_set;

      wchar_t *string;

      int num_wchars;  

引き数

font_set
フォントセットを指定。
num_bytes
引き数 string のバイト数を指定。
num_wchars
引き数 string の文字数を指定。
string
文字列を指定。
 

説明

関数 XmbTextEscapementXwcTextEscapement は、指定されたフォントセットに対して呼び出されたフォントを用い、指定された文字列の幅をピクセル数で返す。 幅は描画の原点から次に描かれる文字の原点への、主描画方向のピクセル数で あり、次の文字の表示は与えられた文字列には依存しないものと仮定する。

文字の描画の順序にかかわらず、幅は常に正の数である。  

関連項目

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


 

Index

名前
書式
引き数
説明
関連項目

This document was created by man2html, using the manual pages.
Time: 15:56:15 GMT, February 12, 2001