Home
last modified time | relevance | path

Searched refs:POINT_PER_INCH (Results 1 – 8 of 8) sorted by relevance

/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/java/org/scilab/modules/gui/utils/
H A DUnitsConverter.java38 private static double POINT_PER_INCH = 72.0; field in UnitsConverter
100 return value / (refSize * POINT_PER_INCH / CallScilabBridge.getScreenResolution()); in convertFromPoint()
102 return value / POINT_PER_INCH; in convertFromPoint()
104 return value * CM_PER_INCH / POINT_PER_INCH; in convertFromPoint()
106 return value * CallScilabBridge.getScreenResolution() / POINT_PER_INCH; in convertFromPoint()
134 return (value * refSize * POINT_PER_INCH / CallScilabBridge.getScreenResolution()); in convertToPoint()
136 return (value * POINT_PER_INCH); in convertToPoint()
138 return (value * POINT_PER_INCH / CM_PER_INCH); in convertToPoint()
140 … return Math.round((value * POINT_PER_INCH / CallScilabBridge.getScreenResolution())); in convertToPoint()
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/cpp/
H A DUnitsConversion.cpp33 return (double) (dvalue * (1.0 / POINT_PER_INCH)); in pixelToinch()
38 … return (int)(dvalue * POINT_PER_INCH / CallScilabBridge::getScreenResolution(getScilabJavaVM())); in pixelTopt()
H A DUnitsConversion.hxx30 #define POINT_PER_INCH 72 macro
/dports/print/transfig/transfig.3.2.5e/fig2dev/dev/
H A Dgenps.c63 #define POINT_PER_INCH 72 macro
468 scalex = scaley = mag * POINT_PER_INCH / ppi;
512 userwidthx=(furx-fllx)/POINT_PER_INCH;
517 userwidthy=(fury-flly)/POINT_PER_INCH;
528 userwidthx=(furx-fllx)/POINT_PER_INCH;
533 userwidthy=(fury-flly)/POINT_PER_INCH;
538 userorigx *= POINT_PER_INCH;
539 userorigy *= POINT_PER_INCH;
540 userwidthx *= POINT_PER_INCH;
541 userwidthy *= POINT_PER_INCH;
H A Dgendxf.c51 #define POINT_PER_INCH 72.27 /* points/inch */ macro
/dports/print/fig2dev/fig2dev-3.2.8a/fig2dev/dev/
H A Dgenps.c125 #define POINT_PER_INCH 72 macro
627 scalex = scaley = mag * POINT_PER_INCH / ppi; in genps_start()
673 userwidthx=(furx-fllx)/POINT_PER_INCH; in genps_start()
681 userwidthy=(fury-flly)/POINT_PER_INCH; in genps_start()
694 userwidthx=(furx-fllx)/POINT_PER_INCH; in genps_start()
699 userwidthy=(fury-flly)/POINT_PER_INCH; in genps_start()
704 userorigx *= POINT_PER_INCH; in genps_start()
705 userorigy *= POINT_PER_INCH; in genps_start()
706 userwidthx *= POINT_PER_INCH; in genps_start()
707 userwidthy *= POINT_PER_INCH; in genps_start()
H A Dgendxf.c62 #define POINT_PER_INCH 72.27 /* points/inch */ macro
/dports/lang/spidermonkey60/firefox-60.9.0/browser/extensions/mortar/host/common/
H A Dppapi-runtime.jsm55 const POINT_PER_INCH = 72;
56 const POINT_PER_MILLIMETER = POINT_PER_INCH / 25.4;
1608 ? POINT_PER_INCH : POINT_PER_MILLIMETER;
1612 x: ps.unwriteableMarginLeft * POINT_PER_INCH,
1613 y: ps.unwriteableMarginTop * POINT_PER_INCH
1617 ps.unwriteableMarginRight) * POINT_PER_INCH,
1619 ps.unwriteableMarginBottom) * POINT_PER_INCH
1624 x: ps.marginLeft * POINT_PER_INCH,
1625 y: ps.marginTop * POINT_PER_INCH
1629 ps.marginRight) * POINT_PER_INCH,
[all …]