Blob Blame History Raw
'\" t
...\" SetFonUB.sgm /main/8 1996/09/08 21:02:09 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmSetFontUnits" "library call"
.SH "NAME"
\fBXmSetFontUnits\fP \(em A function that sets the font unit value for a display
.iX "XmSetFontUnits"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBvoid \fBXmSetFontUnits\fP\fR(
\fBDisplay \fB* display\fR\fR,
\fBint \fBh_value\fR\fR,
\fBint \fBv_value\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmSetFontUnits\fP provides an external function to initialize font unit
values\&. Applications may want to specify resolution-independent data based
on a global font size\&. This function must be called before any widgets with
resolution-independent data are created\&. See the \fBXmNunitType\fP
resource description in the reference pages for
\fBXmGadget\fP, \fBXmManager\fP, and \fBXmPrimitive\fP for more information
on resolution independence\&.
.PP
This function sets the font units for all screens on the display\&.
.PP
\fBNOTE:\fP
\fBXmSetFontUnits\fP is obsolete and exists for compatibility with
previous releases\&.
Instead of using this function, provide initial values or call
\fBXtSetValues\fP for the XmScreen resources \fBXmNhorizontalFontUnit\fP
and \fBXmNverticalFontUnit\fP\&.
.IP "\fIdisplay\fP" 10
Defines the display for which this font unit value is to be applied\&.
.IP "\fIh_value\fP" 10
Specifies the value to be used for horizontal
units in the conversion calculations\&.
.IP "\fIh_value\fP" 10
Specifies the value to be used for vertical
units in the conversion calculations\&.
.SH "RELATED"
.PP
\fBXmConvertUnits\fP(3),
\fBXmSetFontUnit\fP(3),
\fBXmGadget\fP(3),
\fBXmManager\fP(3),
\fBXmPrimitive\fP(3), and
\fBXmScreen\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:30