Home
last modified time | relevance | path

Searched refs:INCH_TO_POINT (Results 1 – 25 of 31) sorted by relevance

12

/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/player/
H A Dcoord.h146 P->dc->pixel_width = INCH_TO_POINT (MM_TO_INCH (0.1)); in WmfSetMapMode()
147 P->dc->pixel_height = INCH_TO_POINT (MM_TO_INCH (0.1)); in WmfSetMapMode()
151 P->dc->pixel_width = INCH_TO_POINT (MM_TO_INCH (0.01)); in WmfSetMapMode()
152 P->dc->pixel_height = INCH_TO_POINT (MM_TO_INCH (0.01)); in WmfSetMapMode()
156 P->dc->pixel_width = INCH_TO_POINT (0.01); in WmfSetMapMode()
157 P->dc->pixel_height = INCH_TO_POINT (0.01); in WmfSetMapMode()
161 P->dc->pixel_width = INCH_TO_POINT (0.001); in WmfSetMapMode()
162 P->dc->pixel_height = INCH_TO_POINT (0.001); in WmfSetMapMode()
181 P->dc->pixel_width = INCH_TO_POINT ((double) 1 / (double) DPI (API)); in WmfSetMapMode()
182 P->dc->pixel_height = INCH_TO_POINT ((double) 1 / (double) DPI (API)); in WmfSetMapMode()
/dports/graphics/libwmf/libwmf-0.2.12/src/player/
H A Dcoord.h146 P->dc->pixel_width = INCH_TO_POINT (MM_TO_INCH (0.1)); in WmfSetMapMode()
147 P->dc->pixel_height = INCH_TO_POINT (MM_TO_INCH (0.1)); in WmfSetMapMode()
151 P->dc->pixel_width = INCH_TO_POINT (MM_TO_INCH (0.01)); in WmfSetMapMode()
152 P->dc->pixel_height = INCH_TO_POINT (MM_TO_INCH (0.01)); in WmfSetMapMode()
156 P->dc->pixel_width = INCH_TO_POINT (0.01); in WmfSetMapMode()
157 P->dc->pixel_height = INCH_TO_POINT (0.01); in WmfSetMapMode()
161 P->dc->pixel_width = INCH_TO_POINT (0.001); in WmfSetMapMode()
162 P->dc->pixel_height = INCH_TO_POINT (0.001); in WmfSetMapMode()
181 P->dc->pixel_width = INCH_TO_POINT ((double) 1 / (double) DPI (API)); in WmfSetMapMode()
182 P->dc->pixel_height = INCH_TO_POINT ((double) 1 / (double) DPI (API)); in WmfSetMapMode()
/dports/graphics/krita/krita-4.4.8/libs/widgets/tests/
H A Dzoomhandler_test.cpp38 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->resolutionX() ), ( int )KoDpi::dpiX() ); in testConstruction()
39 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->resolutionY() ), ( int )KoDpi::dpiY() ); in testConstruction()
40 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->zoomedResolutionX() ), ( int )KoDpi::dpiX() ); in testConstruction()
41 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->zoomedResolutionY() ), ( int )KoDpi::dpiY() ); in testConstruction()
/dports/editors/calligra/calligra-3.2.1/libs/widgets/tests/
H A Dzoomhandler_test.cpp37 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->resolutionX() ), ( int )KoDpi::dpiX() ); in testConstruction()
38 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->resolutionY() ), ( int )KoDpi::dpiY() ); in testConstruction()
39 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->zoomedResolutionX() ), ( int )KoDpi::dpiX() ); in testConstruction()
40 QCOMPARE( ( int )INCH_TO_POINT( zoomHandler->zoomedResolutionY() ), ( int )KoDpi::dpiY() ); in testConstruction()
/dports/editors/calligraplan/calligraplan-3.3.0/src/libs/widgets/tests/
H A Dzoomhandler_test.cpp38 QCOMPARE((int)INCH_TO_POINT(zoomHandler->resolutionX()), (int)KoDpi::dpiX()); in testConstruction()
39 QCOMPARE((int)INCH_TO_POINT(zoomHandler->resolutionY()), (int)KoDpi::dpiY()); in testConstruction()
40 QCOMPARE((int)INCH_TO_POINT(zoomHandler->zoomedResolutionX()), (int)KoDpi::dpiX()); in testConstruction()
41 QCOMPARE((int)INCH_TO_POINT(zoomHandler->zoomedResolutionY()), (int)KoDpi::dpiY()); in testConstruction()
/dports/textproc/kreport/kreport-3.2.0/src/renderer/odtframe/
H A DKoOdtFrameReportLine.cpp79 qreal sx = INCH_TO_POINT(line()->startPoint().x() / KReportPrivate::dpiX()); in createBody()
80 qreal sy = INCH_TO_POINT(line()->startPoint().y() / KReportPrivate::dpiY()); in createBody()
81 qreal ex = INCH_TO_POINT(line()->endPoint().x() / KReportPrivate::dpiX()); in createBody()
82 qreal ey = INCH_TO_POINT(line()->endPoint().y() / KReportPrivate::dpiY()); in createBody()
/dports/textproc/kreport/kreport-3.2.0/autotests/format/
H A DFormatTest.cpp105 …qDebug() << opt.getMarginBottom() << INCH_TO_POINT(opt.getMarginBottom()) << KReportPrivate::dpiY(… in testPageLayout()
106 …QFUZZYCOMPARE(INCH_TO_POINT(opt.getMarginBottom()) / KReportPrivate::dpiY(), KReportUnit::parseVal… in testPageLayout()
107 …QFUZZYCOMPARE(INCH_TO_POINT(opt.getMarginTop()) / KReportPrivate::dpiY(), KReportUnit::parseValue(… in testPageLayout()
108 …QFUZZYCOMPARE(INCH_TO_POINT(opt.getMarginLeft()) / KReportPrivate::dpiX(), KReportUnit::parseValue… in testPageLayout()
109 …QFUZZYCOMPARE(INCH_TO_POINT(opt.getMarginRight()) / KReportPrivate::dpiX(), KReportUnit::parseValu… in testPageLayout()
/dports/textproc/kreport/kreport-3.2.0/src/common/
H A DKReportItemBase.cpp271 const qreal x = INCH_TO_POINT(pos.x() / KReportPrivate::dpiX()); in positionFromScene()
272 const qreal y = INCH_TO_POINT(pos.y() / KReportPrivate::dpiY()); in positionFromScene()
278 qreal w = INCH_TO_POINT(size.width() / KReportPrivate::dpiX()); in sizeFromScene()
279 qreal h = INCH_TO_POINT(size.height() / KReportPrivate::dpiY()); in sizeFromScene()
H A DKReportUnit.cpp273 return INCH_TO_POINT(value); in convertToPoint()
400 pt = INCH_TO_POINT(value); in convertFromUnitToUnit()
H A DKReportUnit.h51 #define INCH_TO_POINT(inch) qreal((inch)*72.0) macro
/dports/graphics/krita/krita-4.4.8/plugins/impex/psd/
H A Dpsd_saver.cpp190 resInfo->hRes = INCH_TO_POINT(m_image->xRes()); in buildFile()
191 resInfo->vRes = INCH_TO_POINT(m_image->yRes()); in buildFile()
/dports/editors/calligra/calligra-3.2.1/libs/odf/
H A DKoUnit.cpp199 return INCH_TO_POINT(value); in fromUserValue()
298 pt = INCH_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h52 #define INCH_TO_POINT(inch) qreal((inch)*72.0) macro
/dports/editors/calligraplan/calligraplan-3.3.0/src/libs/odf/
H A DKoUnit.cpp200 return INCH_TO_POINT(value); in fromUserValue()
299 pt = INCH_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h52 #define INCH_TO_POINT(inch) qreal((inch)*72.0) macro
/dports/graphics/kgraphviewer/kgraphviewer-2.4.3/src/part/
H A DKgvUnit.h49 #define INCH_TO_POINT(inch) ((inch)*72.0) macro
H A DKgvUnit.cpp135 return INCH_TO_POINT( value ); in fromUserValue()
/dports/graphics/krita/krita-4.4.8/libs/odf/
H A DKoUnit.cpp225 return INCH_TO_POINT(value); in fromUserValue()
324 pt = INCH_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h51 constexpr qreal INCH_TO_POINT(qreal inch) {return (inch)*72.0;} in INCH_TO_POINT() function
/dports/editors/calligra/calligra-3.2.1/filters/karbon/image/
H A DImageExportOptionsWidget.cpp145 widget.unitWidth->changeValue(INCH_TO_POINT(inchWidth)); in updateFromPixelSize()
146 widget.unitHeight->changeValue(INCH_TO_POINT(inchHeight)); in updateFromPixelSize()
/dports/graphics/krita/krita-4.4.8/plugins/impex/tiff/
H A Dkis_tiff_converter.cc782 …dbgFile << "xres: " << INCH_TO_POINT(kisimage->xRes()) << " yres: " << INCH_TO_POINT(kisimage->yRe… in buildFile()
783 …if (!TIFFSetField(image, TIFFTAG_XRESOLUTION, INCH_TO_POINT(kisimage->xRes()))) { // It is the "in… in buildFile()
787 if (!TIFFSetField(image, TIFFTAG_YRESOLUTION, INCH_TO_POINT(kisimage->yRes()))) { in buildFile()
/dports/games/chessx/chessx-1.5.6/src/gui/ooo/
H A Dstyleparser.cpp512 #define INCH_TO_POINT(inch) ((inch)*72.0) in convertUnit() macro
531 points = INCH_TO_POINT( value ); in convertUnit()
534 points = INCH_TO_POINT( value ); in convertUnit()
H A Dformatproperty.h31 #define INCH_TO_POINT(inch) ((inch)*72.0) macro
/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/
H A Dplayer.h249 #define INCH_TO_POINT(X) ((double) (X) * (double) 72 ) macro
/dports/graphics/libwmf/libwmf-0.2.12/src/
H A Dplayer.h249 #define INCH_TO_POINT(X) ((double) (X) * (double) 72 ) macro

12