okular
Okular::Utils Class Reference
#include <utils.h>
Static Public Member Functions | |
static double | dpiX () |
static double | dpiY () |
static NormalizedRect | imageBoundingBox (const QImage *image) |
static QSizeF | realDpi (QWidget *widgetOnScreen) |
static double | realDpiX () |
static double | realDpiY () |
static QRect | rotateRect (const QRect &source, int width, int height, int orientation) |
Detailed Description
General utility functions.
This class contains some static functions of general utility.
Member Function Documentation
|
static |
|
static |
|
static |
|
static |
Return the real horizontal DPI of the main display.
On X11, it can indicate the real horizontal DPI value without any Xrdb setting. Otherwise, returns the same as dpiX(),
- Since
- 0.9 (KDE 4.3)
- Deprecated:
- Can not work with multi-monitor configurations
|
static |
Return the real vertical DPI of the main display.
On X11, it can indicate the real horizontal DPI value without any Xrdb setting. Otherwise, returns the same as dpiX(),
- Since
- 0.9 (KDE 4.3)
- Deprecated:
- Can not work with multi-monitor configurations
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.