1XmSetFontUnits(library call)                      XmSetFontUnits(library call)
2
3
4

NAME

6       XmSetFontUnits — A function that sets the font unit value for a display
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       void XmSetFontUnits(
11       Display * display,
12       int h_value,
13       int v_value);
14

DESCRIPTION

16       XmSetFontUnits  provides  an  external function to initialize font unit
17       values. Applications may want to  specify  resolution-independent  data
18       based  on  a  global font size. This function must be called before any
19       widgets with resolution-independent data are created. See the  XmNunit‐
20       Type  resource  description in the reference pages for XmGadget, XmMan‐
21       ager, and XmPrimitive for more information on resolution independence.
22
23       This function sets the font units for all screens on the display.
24
25       NOTE: XmSetFontUnits is obsolete and exists for compatibility with pre‐
26       vious releases.  Instead of using this function, provide initial values
27       or call XtSetValues for the  XmScreen  resources  XmNhorizontalFontUnit
28       and XmNverticalFontUnit.
29
30       display   Defines  the  display for which this font unit value is to be
31                 applied.
32
33       h_value   Specifies the value to be used for horizontal  units  in  the
34                 conversion calculations.
35
36       h_value   Specifies the value to be used for vertical units in the con‐
37                 version calculations.
38
40       XmConvertUnits(3), XmSetFontUnit(3), XmGadget(3), XmManager(3), XmPrim‐
41       itive(3), and XmScreen(3).
42
43
44
45                                                  XmSetFontUnits(library call)
Impressum