IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > X11 Toolkitに対するOSF/Motif版拡張 > 分解能に対する独立性

分解能に対する独立性

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.

xmSetFontUnit(+Unit), xmxmSetFontUnits(+H_value, +V_value)

XmSetFontUnit(),XmSetFontUnits()と同様の働きをします。

グローバルフォントサイズとして、ある値を設定します。これは、widgetのunitTypeリソースが '100th_font_units'に設定されている場合に、分解能に依存しない大きさと位置を計算するのに使用します。この値は、xmConvertUnits/6でも使用します。

xmConvertUnits(+Widget, +Orientation, +FromUnit, +FromValue, +ToUnit, ?ToValue)

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

Orientationで指定された方向中のwidgetのディスプレイの分解能に従って、FromValueを単位FromUnitから単位ToUnitに変換します。

Orientationは、horizontalあるいはverticalのいずれかです。

FromUnitとToUnitは、pixels, '100th_millimeters', '1000th_inches', '100th_points', '100th_font_units'のいずれかになります。

integer_expected Unit, FromValueは、整数でなければならない illegal_orientation Orientationは、horizontalあるいはverticalのいずれかでなければならない illegal_unit_type FromUnit, ToUnitは、正しいユニット型でなければならない

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/osf_motif/osfext/resol/print_de.html
published 2008/11/17 update 1995/11/6 (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