Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XTextWidth(3X11) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XTextExtents(3X11)

XTextWidth(3X11)  —  UNIX Programmer’s Manual

名称

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 バイトの文字列の幅を返します。

関連事項

XTextExtents(3X11)
Xlib − C Language X Interface

NEWS-OSRelease 3.3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026