/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/samples/printing/ |
H A D | printing.cpp | 713 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 714 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 719 int rightMarginLogical = int(logUnitsFactor * (pageWidthMM - rightMargin)); in DrawPageTwo() 733 int pageWidthMM, pageHeightMM; in WritePageHeader() local 735 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 744 int rightMarginLogical = int(mmToLogical * (pageWidthMM - rightMargin)); in WritePageHeader() 749 …int xPos = int(((((pageWidthMM - leftMargin - rightMargin) / 2.0) + leftMargin) * mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/samples/printing/ |
H A D | printing.cpp | 639 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 640 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 645 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 668 int pageWidthMM, pageHeightMM; in WritePageHeader() local 670 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 679 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 683 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/samples/printing/ |
H A D | printing.cpp | 639 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 640 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 645 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 668 int pageWidthMM, pageHeightMM; in WritePageHeader() local 670 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 679 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 683 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/samples/printing/ |
H A D | printing.cpp | 639 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 640 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 645 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 668 int pageWidthMM, pageHeightMM; in WritePageHeader() local 670 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 679 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 683 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/samples/printing/ |
H A D | printing.cpp | 639 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 640 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 645 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 668 int pageWidthMM, pageHeightMM; in WritePageHeader() local 670 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 679 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 683 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/samples/printing/ |
H A D | printing.cpp | 729 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 730 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 735 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 758 int pageWidthMM, pageHeightMM; in WritePageHeader() local 760 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 769 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 774 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/samples/printing/ |
H A D | printing.cpp | 729 int pageWidthMM, pageHeightMM; in DrawPageTwo() local 730 GetPageSizeMM(&pageWidthMM, &pageHeightMM); in DrawPageTwo() 735 float rightMarginLogical = (float)(logUnitsFactor*(pageWidthMM - rightMargin)); in DrawPageTwo() 758 int pageWidthMM, pageHeightMM; in WritePageHeader() local 760 printout->GetPageSizeMM(&pageWidthMM, &pageHeightMM); in WritePageHeader() 769 float rightMarginLogical = (float)(mmToLogical*(pageWidthMM - rightMargin)); in WritePageHeader() 774 …float xPos = (float)(((((pageWidthMM - leftMargin - rightMargin)/2.0)+leftMargin)*mmToLogical) - (… in WritePageHeader()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/maprenderer/ |
H A D | qgsmaprenderertask.cpp | 223 const double pageWidthMM = mMapSettings.outputSize().width() * 25.4 / mMapSettings.outputDpi(); in run() 225 exportDetails.pageSizeMm = QSizeF( pageWidthMM, pageHeightMM ); in run() 236 georef.pageBoundsMm = QgsRectangle( 0, 0, pageWidthMM, pageHeightMM ); in run() 239 …georef.controlPoints << QgsAbstractGeoPdfExporter::ControlPoint( QgsPointXY( pageWidthMM, 0 ), mMa… in run() 240 …georef.controlPoints << QgsAbstractGeoPdfExporter::ControlPoint( QgsPointXY( pageWidthMM, pageHeig… in run()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgsmaprenderertask.cpp | 213 const double pageWidthMM = mMapSettings.outputSize().width() * 25.4 / mMapSettings.outputDpi(); in run() 215 exportDetails.pageSizeMm = QSizeF( pageWidthMM, pageHeightMM ); in run() 226 georef.pageBoundsMm = QgsRectangle( 0, 0, pageWidthMM, pageHeightMM ); in run() 229 …georef.controlPoints << QgsAbstractGeoPdfExporter::ControlPoint( QgsPointXY( pageWidthMM, 0 ), mMa… in run() 230 …georef.controlPoints << QgsAbstractGeoPdfExporter::ControlPoint( QgsPointXY( pageWidthMM, pageHeig… in run()
|
/dports/graphics/kxstitch/kxstitch-2.2.0/src/ |
H A D | Element.cpp | 1855 double pageWidthMM = painter->window().width(); in render() local 1859 double devicePageWidthPixels = (double(pageWidthMM) / 25.4) * painter->device()->logicalDpiX(); in render()
|