Home
last modified time | relevance | path

Searched refs:CM_TO_POINT (Results 1 – 24 of 24) sorted by relevance

/dports/textproc/kreport/kreport-3.2.0/src/common/
H A DKReportUtils_p.h35 const QPointF DEFAULT_ELEMENT_POS_PT(CM_TO_POINT(1.0), CM_TO_POINT(1.0));
36 const QSizeF DEFAULT_ELEMENT_SIZE_PT(CM_TO_POINT(1.0), CM_TO_POINT(1.0));
40 const qreal DEFAULT_SECTION_SIZE_PT = CM_TO_POINT(2.0);
42 const qreal DEFAULT_PAGE_MARGIN_PT = CM_TO_POINT(1.0);
H A DKReportUnit.cpp269 return CM_TO_POINT(value); in convertToPoint()
394 pt = CM_TO_POINT(value); in convertFromUnitToUnit()
H A DKReportUnit.h47 #define CM_TO_POINT(cm) qreal((cm)*28.3465058) macro
H A DKReportDesign_p.cpp51 : defaultSectionHeight(CM_TO_POINT(2.0)) in KReportDesignGlobal()
/dports/textproc/kreport/kreport-3.2.0/autotests/format/
H A DFormatTest.cpp162 QCOMPARE(detailSection.height(), CM_TO_POINT(5.0)); in testLabelElement()
172 const QRectF rect(CM_TO_POINT(1.5), CM_TO_POINT(0.5), CM_TO_POINT(4.5), CM_TO_POINT(0.75)); in testLabelElement()
/dports/editors/calligra/calligra-3.2.1/libs/flake/
H A DKoUnavailShape.cpp181 KoShape::setSize( QSizeF( CM_TO_POINT( 5 ), CM_TO_POINT( 3 ) ) ); in KoUnavailShape()
247 qreal picSize = CM_TO_POINT(2); // Default size is 2 cm. in draw()
248 if (width < CM_TO_POINT(2) || height < CM_TO_POINT(2)) in draw()
250 else if (width > CM_TO_POINT(8) && height > CM_TO_POINT(8)) in draw()
/dports/textproc/kreport/kreport-3.2.0/autotests/
H A DElementsTest.cpp159 KReportSection::setDefaultHeight(CM_TO_POINT(10.0)); // sanity: reset in testSections()
160 QCOMPARE(KReportSection::defaultHeight(), CM_TO_POINT(10.0)); in testSections()
164 sec1.setHeight(CM_TO_POINT(7.0)); in testSections()
165 QCOMPARE(sec1.height(), CM_TO_POINT(7.0)); // custom height in testSections()
/dports/editors/calligra/calligra-3.2.1/plugins/chartshape/
H A DChartShape.cpp350 d->title->setSize(QSizeF(CM_TO_POINT(5), CM_TO_POINT(0.7))); in ChartShape()
380 d->subTitle->setSize(QSizeF(CM_TO_POINT(5), CM_TO_POINT(0.7))); in ChartShape()
410 d->footer->setSize(QSizeF(CM_TO_POINT(5), CM_TO_POINT(0.7))); in ChartShape()
431 setSize(QSizeF(CM_TO_POINT(8), CM_TO_POINT(5))); in ChartShape()
H A DAxis.cpp870 d->title->setSize(QSizeF(CM_TO_POINT(3), CM_TO_POINT(0.75))); in Axis()
/dports/editors/calligra/calligra-3.2.1/libs/odf/
H A DKoUnit.cpp195 return CM_TO_POINT(value); in fromUserValue()
292 pt = CM_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h48 #define CM_TO_POINT(cm) qreal((cm)*28.3465058) macro
/dports/editors/calligraplan/calligraplan-3.3.0/src/libs/odf/
H A DKoUnit.cpp196 return CM_TO_POINT(value); in fromUserValue()
293 pt = CM_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h48 #define CM_TO_POINT(cm) qreal((cm)*28.3465058) macro
/dports/graphics/kgraphviewer/kgraphviewer-2.4.3/src/part/
H A DKgvUnit.h45 #define CM_TO_POINT(cm) ((cm)*28.3465058) macro
H A DKgvUnit.cpp131 return CM_TO_POINT( value ); in fromUserValue()
/dports/graphics/krita/krita-4.4.8/libs/odf/
H A DKoUnit.cpp221 return CM_TO_POINT(value); in fromUserValue()
318 pt = CM_TO_POINT(value); in convertFromUnitToUnit()
H A DKoUnit.h47 constexpr qreal CM_TO_POINT(qreal cm) {return (cm)*28.3465058;} in CM_TO_POINT() function
/dports/editors/calligra/calligra-3.2.1/plugins/vectorshape/
H A DVectorShape.cpp75 KoShape::setSize( QSizeF( CM_TO_POINT( 8 ), CM_TO_POINT( 5 ) ) ); in VectorShape()
/dports/games/chessx/chessx-1.5.6/src/gui/ooo/
H A Dformatproperty.h29 #define CM_TO_POINT(cm) ((cm)*28.3465058) ///// 28.346456693 macro
H A Dstyleparser.cpp510 #define CM_TO_POINT(cm) ((cm)*28.3465058) in convertUnit() macro
522 points = CM_TO_POINT( value ); in convertUnit()
/dports/editors/calligra/calligra-3.2.1/plugins/formulashape/
H A DAttributeManager.cpp256 return CM_TO_POINT(length.value); in lengthToPixels()
/dports/editors/calligra/calligra-3.2.1/libs/flake/svg/
H A DSvgUtil.cpp230 value = CM_TO_POINT(value); in parseUnit()
/dports/graphics/krita/krita-4.4.8/libs/flake/svg/
H A DSvgUtil.cpp243 value = ptToPx(gc, CM_TO_POINT(value)); in parseUnit()
/dports/graphics/krita/krita-4.4.8/libs/ui/
H A Dkis_png_converter.cpp1295 …png_set_pHYs(png_ptr, info_ptr, CM_TO_POINT(xRes) * 100.0, CM_TO_POINT(yRes) * 100.0, PNG_RESOLUTI…