... XmConvertUnits - Online Linux Manual PageSection : library call
NAMEXmConvertUnits — A function that converts a value in one unit type to another unit type .iX "XmConvertUnits"
SYNOPSIS#include <Xm/Xm.h>
int XmConvertUnits(
Widget widget,
int orientation,
int from_unit_type,
int from_value,
int to_unit_type);
DESCRIPTIONXmConvertUnits converts the value and returns it as the return value from the function. For resources of type, dimension, or position, you can specify units using the syntax described in the XmNunitType resource of the XmPrimitive reference page. widget Specifies the widget for which the data is to be converted. orientation Specifies whether the converter uses the horizontal or vertical screen resolution when performing the conversions. The orientation parameter can have values of XmHORIZONTAL or XmVERTICAL. from_unit_type Specifies the current unit type of the supplied value from_value Specifies the value to be converted to_unit_type Converts the value to the unit type specified The parameters from_unit_type and to_unit_type can have the following values: XmPIXELS All values provided to the widget are treated as pixel values. This is the default for the resource. XmMILLIMETERS All values provided to the widget are treated as millimeter values. Xm100TH_MILLIMETERS All values provided to the widget are treated as 1/100 of a millimeter. XmCENTIMETERS All values provided to the widget are treated as centimeter values. XmINCHES All values provided to the widget are treated as inch values. Xm1000TH_INCHES All values provided to the widget are treated as 1/1000 of an inch. XmPOINTS All values provided to the widget are treated as point values. A point is a unit used in text processing applications and is defined as 1/72 of an inch. Xm100TH_POINTS All values provided to the widget are treated as 1/100 of a point. A point is a unit typically used in text processing applications and is defined as 1/72 of an inch. XmFONT_UNITS All values provided to the widget are treated as normal font units. A font unit has horizontal and vertical components. These are the values of the XmScreen resources XmNhorizontalFontUnit and XmNverticalFontUnit. Xm100TH_FONT_UNITS All values provided to the widget are treated as 1/100 of a font unit. A font unit has horizontal and vertical components. These are the values of the XmScreen resources XmNhorizontalFontUnit and XmNverticalFontUnit.
RETURNReturns the converted value. If a NULL widget, incorrect orientation, or incorrect unit_type is supplied as parameter data, 0 (zero) is returned.
RELATEDXmPrimitive, XmSetFontUnits(3), and XmScreen(3). ... 0
Johanes Gumabo
Data Size : 11,483 byte
man-XmConvertUnits.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 189,280
Visitor ID : :
Visitor IP : 18.216.208.243 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|XmConvertUnits.3|2|..|... ) (parse_manual_page_|249|XmConvertUnits.3|52|iX|.iX "XmConvertUnits"
) (parse_manual_page_|249|XmConvertUnits.3|137|..|... )