/dports/graphics/epdfview/epdfview-0.1.8/tests/ |
H A D | PagePterTest.cxx | 71 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, m_Document->getZoom (), 0.0001); in pageZoomWidth() 80 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.75, m_Document->getZoom (), 0.0001); in pageZoomWidth() 87 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.5, m_Document->getZoom (), 0.0001); in pageZoomWidth() 90 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.75, m_Document->getZoom (), 0.0001); in pageZoomWidth() 96 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.75, m_Document->getZoom (), 0.0001); in pageZoomWidth() 106 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.3, m_Document->getZoom (), 0.0001); in pageZoomWidth() 109 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.2, m_Document->getZoom (), 0.0001); in pageZoomWidth() 118 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, m_Document->getZoom (), 0.0001); in pageZoomFit() 127 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.2, m_Document->getZoom (), 0.0001); in pageZoomFit() 131 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.4, m_Document->getZoom (), 0.0001); in pageZoomFit() [all …]
|
H A D | MainPterTest.cxx | 619 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, m_Document->getZoom (), 0.0001); in pageZoomInAndOut() 622 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.2, m_Document->getZoom (), 0.0001); in pageZoomInAndOut() 625 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, m_Document->getZoom (), 0.0001); in pageZoomInAndOut() 706 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 714 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.3, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 718 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.3, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 725 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.2, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 728 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.3, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 730 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.2, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() 732 CPPUNIT_ASSERT_DOUBLES_EQUAL (0.3, m_Document->getZoom (), 0.0001); in pageZoomAndRotate() [all …]
|
H A D | PDFDocumentTest.cxx | 511 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0f, m_Document->getZoom (), DELTA); in pageZoom() 513 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.2f, m_Document->getZoom (), DELTA); in pageZoom() 515 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.2f, m_Observer->getZoom (), DELTA); in pageZoom() 517 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.44f, m_Document->getZoom (), DELTA); in pageZoom() 519 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.44f, m_Observer->getZoom (), DELTA); in pageZoom() 521 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.2f, m_Document->getZoom (), DELTA); in pageZoom() 523 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.2f, m_Observer->getZoom (), DELTA); in pageZoom() 526 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.728f, m_Document->getZoom (), DELTA); in pageZoom() 528 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.728f, m_Observer->getZoom (), DELTA); in pageZoom() 538 CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0f, m_Document->getZoom (), DELTA); in pageZoom() [all …]
|
/dports/graphics/epdfview/epdfview-0.1.8/src/ |
H A D | PDFDocument.cxx | 439 gdouble scale = getZoom (); in setLinks() 666 cairo_scale(context, getZoom(), getZoom()); in renderPage() 751 PopplerRectangle textRect = { rect->getX1() / getZoom(), in setTextSelection() 752 rect->getY1() / getZoom(), in setTextSelection() 753 rect->getX2() / getZoom(), in setTextSelection() 757 PopplerRectangle textRect = { rect->getX1() / getZoom(), in setTextSelection() 759 rect->getX2() / getZoom(), in setTextSelection() 801 rect.x1 = r->getX1() / getZoom(); in getTextRegion() 802 rect.y1 = r->getY1() / getZoom(); in getTextRegion() 803 rect.x2 = r->getX2() / getZoom(); in getTextRegion() [all …]
|
H A D | IDocument.cxx | 419 gdouble zoom = getZoom (); in notifyPageZoomed() 1001 pageImage->setSelection (*m_FindRect, getZoom ()); in getCurrentPage() 1029 gint width = MAX((gint) ((pageWidth * getZoom ()) + 0.5), 1); in getEmptyPage() 1030 gint height = MAX((gint) ((pageHeight * getZoom ()) + 0.5) , 1); in getEmptyPage() 1222 return ( getZoom () * ZOOM_IN_FACTOR <= ZOOM_IN_MAX ); in canZoomIn() 1233 return ( getZoom () * ZOOM_OUT_FACTOR >= ZOOM_OUT_MAX ); in canZoomOut() 1242 IDocument::getZoom (void) in getZoom() function in IDocument 1278 setZoom (getZoom () * ZOOM_IN_FACTOR); in zoomIn() 1295 setZoom (getZoom () * ZOOM_OUT_FACTOR); in zoomOut()
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/gui/dialog/backgroundSelect/ |
H A D | PdfElementView.cpp | 22 double zoom = PdfPagesDialog::getZoom(); in paintContents() 27 auto PdfElementView::getContentWidth() -> int { return page->getWidth() * PdfPagesDialog::getZoom()… in getContentWidth() 29 auto PdfElementView::getContentHeight() -> int { return page->getHeight() * PdfPagesDialog::getZoom… in getContentHeight()
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/gui/sidebar/previews/base/ |
H A D | SidebarPreviewBaseEntry.cpp | 66 double zoom = sidebar->getZoom(); in drawLoadingPage() 103 double height = page->getHeight() * sidebar->getZoom(); in paint() 104 double width = page->getWidth() * sidebar->getZoom(); in paint() 137 …return page->getWidth() * sidebar->getZoom() + Shadow::getShadowBottomRightSize() + Shadow::getSha… in getWidgetWidth() 142 return page->getHeight() * sidebar->getZoom() + Shadow::getShadowBottomRightSize() + in getWidgetHeight()
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/tools/ |
H A D | BaseStrokeHandler.cpp | 30 double zoom = xournal->getZoom(); in draw() 78 double zoom = xournal->getZoom(); in onMotionNotifyEvent() 130 double zoom = xournal->getZoom(); in onButtonReleaseEvent() 133 pow(xournal->getZoom(), 2); in onButtonReleaseEvent() 182 double zoom = xournal->getZoom(); in onButtonPressEvent() 209 double zoom = xournal->getZoom(); in modifyModifiersByDrawDir()
|
/dports/games/spacejunk/spacejunk-1.0.5/src/ |
H A D | canvas.cpp | 108 …=level->getTrackCoordinateSystem()->get_view_transformation(false,level->getZoom(),level->getEyeSh… in refreshViewTransformation() 110 …view_transformation=Matrix2x3(1.0/level->getZoom(),1.0/level->getZoom(),0,-Graphic::screencenter.x, in refreshViewTransformation() 140 level->setEyeShift(level->getEyeShift()+delta*mscroll.scrollvel/level->getZoom()); in draw() 150 Graphic::drawCircle(center,max(Uint16(selected->getWidth()/1.5*level->getZoom()),10), in draw() 163 drawVelocity(view_transformation,level->getZoom(),*i); in draw() 180 real f=(level->getZoom()*7+1)/level->getZoom(); in mouseClickDeleteMode() 192 …c=level->getTrackCoordinateSystem()->get_view2world_transformation(false,level->getZoom(),level->g… in mouseClickDeleteMode() 247 real f=(level->getZoom()*7+1)/level->getZoom(); in mouseClickAddMode() 272 c=Matrix2x3(1.0/level->getZoom(),1.0/level->getZoom(),0,-Graphic::screencenter.x, in mouseClickAddMode() 346 real zoom=level->getZoom(); in keyPressed() [all …]
|
/dports/www/ilias6/ILIAS-6.14/Services/ADT/classes/Types/Location/ |
H A D | class.ilADTLocation.php | 61 public function getZoom() function in ilADTLocation 156 "#" . $this->getZoom()); 169 $obj->zoom = $this->getZoom();
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/gui/ |
H A D | PageView.cpp | 284 double zoom = xournal->getZoom(); in onButtonPressEvent() 375 double zoom = this->xournal->getZoom(); in onButtonDoublePressEvent() 436 double zoom = this->xournal->getZoom(); in onButtonTriplePressEvent() 459 double zoom = xournal->getZoom(); in onMotionNotifyEvent() 500 double zoom = xournal->getZoom(); in onButtonReleaseEvent() 546 double zoom = xournal->getZoom(); in onButtonReleaseEvent() 619 double zoom = xournal->getZoom(); in repaintArea() 703 double zoom = xournal->getZoom(); in drawLoadingPage() 734 double zoom = xournal->getZoom(); in paintPageSync() 863 return std::lround(this->page->getWidth() * this->xournal->getZoom()); in getDisplayWidth() [all …]
|
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/ComponentEditor/UI/ |
H A D | jucer_EditingPanelBase.cpp | 77 panel->setZoom (panel->getZoom() * factor, e.x, e.y); in mouseMagnify() 165 … roundToInt ((viewport->getWidth() - viewport->getScrollBarThickness()) / getZoom())), in resized() 167 … roundToInt ((viewport->getHeight() - viewport->getScrollBarThickness()) / getZoom()))); in resized() 204 double EditingPanelBase::getZoom() const in getZoom() function in EditingPanelBase
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/android/source/src/java/org/mozilla/gecko/gfx/ |
H A D | FixedZoomTileLayer.java | 13 float zoom = getZoom(viewportMetrics); in getViewPort() 19 protected float getZoom(ImmutableViewportMetrics viewportMetrics) { in getZoom() method in FixedZoomTileLayer
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/android/source/src/java/org/mozilla/gecko/gfx/ |
H A D | FixedZoomTileLayer.java | 13 float zoom = getZoom(viewportMetrics); in getViewPort() 19 protected float getZoom(ImmutableViewportMetrics viewportMetrics) { in getZoom() method in FixedZoomTileLayer
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/view/renderers/ |
H A D | lightrenderer.cpp | 87 uint32_t width = static_cast<uint32_t>(round(m_image->getWidth() * cam->getZoom())); in render() 88 uint32_t height = static_cast<uint32_t>(round(m_image->getHeight() * cam->getZoom())); in render() 118 uint32_t width = static_cast<uint32_t>(round(img->getWidth() * cam->getZoom())); in render() 119 uint32_t height = static_cast<uint32_t>(round(img->getHeight() * cam->getZoom())); in render() 147 uint32_t width = static_cast<uint32_t>(round(m_width * cam->getZoom())); in render() 148 uint32_t height = static_cast<uint32_t>(round(m_height * cam->getZoom())); in render() 179 double zoom = cam->getZoom(); in render()
|
H A D | genericrenderer.cpp | 170 width = static_cast<uint32_t>(round(m_image->getWidth() * cam->getZoom())); in render() 171 height = static_cast<uint32_t>(round(m_image->getHeight() * cam->getZoom())); in render() 204 width = static_cast<uint32_t>(round(img->getWidth() * cam->getZoom())); in render() 205 height = static_cast<uint32_t>(round(img->getHeight() * cam->getZoom())); in render() 235 width = static_cast<uint32_t>(round(img->getWidth() * cam->getZoom())); in render() 236 height = static_cast<uint32_t>(round(img->getHeight() * cam->getZoom())); in render() 269 width = static_cast<uint32_t>(round(m_width * cam->getZoom())); in render() 270 height = static_cast<uint32_t>(round(m_height * cam->getZoom())); in render()
|
/dports/audio/boops-lv2/BOops-1.8.2/src/ |
H A D | MonitorWidget.hpp | 57 double getZoom () const {return zoom;} in getZoom() function in MonitorWidget 95 double step = getZoom() * 0.01; in onWheelScrolled() 96 setZoom (getZoom() + event->getDelta ().y * step); in onWheelScrolled()
|
/dports/www/ilias/ILIAS-5.4.25/Services/Form/classes/ |
H A D | class.ilLocationInputGUI.php | 116 public function getZoom() function in ilLocationInputGUI 209 $this->getZoom(), 243 ->setZoom($this->getZoom())
|
/dports/www/ilias6/ILIAS-6.14/Services/Form/classes/ |
H A D | class.ilLocationInputGUI.php | 116 public function getZoom() function in ilLocationInputGUI 209 $this->getZoom(), 243 ->setZoom($this->getZoom())
|
/dports/audio/bjumblr-lv2/BJumblr-1.6.8/src/ |
H A D | MonitorWidget.hpp | 56 double getZoom () const {return zoom;} in getZoom() function in MonitorWidget 102 double step = getZoom() * 0.01; in onWheelScrolled() 103 setZoom (getZoom() + event->getDelta ().y * step); in onWheelScrolled()
|
/dports/databases/py-qt5-sql/PyQt5-5.15.4/examples/designer/plugins/widgets/ |
H A D | pydemo.py | 99 def getZoom(self): member in PyDemo 128 zoom = pyqtProperty(int, getZoom, setZoom, resetZoom)
|
/dports/multimedia/py-qt5-multimediawidgets/PyQt5-5.15.4/examples/designer/plugins/widgets/ |
H A D | pydemo.py | 99 def getZoom(self): member in PyDemo 128 zoom = pyqtProperty(int, getZoom, setZoom, resetZoom)
|
/dports/multimedia/py-qt5-multimedia/PyQt5-5.15.4/examples/designer/plugins/widgets/ |
H A D | pydemo.py | 99 def getZoom(self): member in PyDemo 128 zoom = pyqtProperty(int, getZoom, setZoom, resetZoom)
|
/dports/comms/py-qt5-sensors/PyQt5-5.15.4/examples/designer/plugins/widgets/ |
H A D | pydemo.py | 99 def getZoom(self): member in PyDemo 128 zoom = pyqtProperty(int, getZoom, setZoom, resetZoom)
|
/dports/www/py-qt5-webkitwidgets/PyQt5-5.15.4/examples/designer/plugins/widgets/ |
H A D | pydemo.py | 99 def getZoom(self): member in PyDemo 128 zoom = pyqtProperty(int, getZoom, setZoom, resetZoom)
|