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が返されます。
| 冒頭へ |
|