IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > ドローWidget (Draw Widget) > 外部関数 > テキスト・エクステントの問い合わせ

テキスト・エクステントの問い合わせ

IF/Prolog by Siemens
MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

void XtDrawFontExtents(w, direction, ascent, descent); Widget w; int *direction, *ascent, *descent;

XTextExtents()と同様の働きをします。

アクティブなGC中のフォントに関する全体的なフォント direction, ascent, descentが返されます。

void XtDrawStringExtents(w, string, width, ascent, descent); Widget w; char *string; short *width, *ascent, *descent;

XTextExtents()と同様の働きをします。

アクティブなGC中のフォントに関する文字列 width, ascent, descentが返されます。

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/osf_motif/drawW/extfunc/queryte/print_de.html
published 2008/12/1 update 1995/10/12 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS